Anyone can make me understand . . .

kumar abhishek:
Anyone can make me understand why csr object is failing with error

Error from server (BadRequest): error when creating "akshay_1.yaml": CertificateSigningRequest in version "v1beta1" cannot be handled as a CertificateSigningRequest: v1beta1.CertificateSigningRequest.Spec: v1beta1.CertificateSigningRequestSpec.Usages: []v1beta1.KeyUsage: Request: decode base64: illegal base64 data at input byte 0, error foundin #10 byte of ...|-d '\\n')","usages":|..., bigger context ...|equest":"$(cat akshay.csr | base64 | tr -d '\\n')","usages":["digital signature","key encipherment",|...```

olivier beyler:
may your certificate is not valid

olivier beyler:
<@UFCKJG9AP> have you ckeck your akshay.csr ?

kumar abhishek:
<@U0101SLPGRZ> I am solving practice test

kumar abhishek:
akshay.csr was there in the /root already

olivier beyler:
in wich lab please ?

olivier beyler:
csr is also on moke exam

olivier beyler:
I check

olivier beyler:
I think that in case of trouble you can do it by step

olivier beyler:
cat akshay.csr | base64 | tr -d '\n'

olivier beyler:
than copy it inside a file

kumar abhishek:
ya by step it is successful by pasting the csr value directly into requests

kumar abhishek:

olivier beyler:
be careful to not include the name of the server

olivier beyler:
I remember that I used to have the same pb during Practice test but not during mock exams

olivier beyler:
I reload the practice test to see if the same error occure also for me

kumar abhishek:
hey I pasted the code on notepad and then changed the value and then pasted on env and it worked

kumar abhishek:
do we get to open any notepad in actual exam

olivier beyler:
It works for me

olivier beyler:
you have a specific notepad give by exam env