#CSR SSL Instructions?

1 messages · Page 1 of 1 (latest)

safe crown
#

Hello All, Looking for any instructions to generate a self signed CSR request please

safe crown
#

does it need the /n at the start and end?

velvet parrot
safe crown
#

this is for the applciation ssl not for ontap

safe crown
#

Some further info, I have a CSR generated but when using a decoder on our CSR server its not decoding it.

errant dove
#

You're putting the CSR in a JSON, where is that going ? I sign CSR coming from ontap in hashicorp vault in the UI without issues, but I guess it depends on the CA

safe crown
#

So the CSR is from swagger of Nabox and then I past into our SSL server but its unable to decode, I have tryed it using just begin and end request. Not sure where I have went wrong tbh

safe crown
#

Any ideas with this one?

errant dove
#

Ok I see, the json is specific to NAbox, what your CA needs is just the Base64 encoded part including "--- BEGIN --- --- END---" markers

#

And probably get rid of the \n in a text editor, didn't find a way around that

safe crown
#

So just start with the "base all the way until the end marker?

safe crown
#

Seems to have been the \n causing the issue. I've got my PKS from the CA, how do I install it?

errant dove
#

What’s the PKS ? The private key ?

#

You use the same API I believe it’s a POST request and you can leave the private key out, just putting the certificate but you might have to reformat it the same as you got it

safe crown
#

It was the certificate, Still getting no where, imported it and still erroring

errant dove
#

Ok let me reproduce here

#

I'll keep you posted

errant dove
#

All right it's working indeed, I'm putting together something in the docuementation

safe crown
errant dove
#

What did you get back from your CA exactly ? In my case I get a certificate and the certificate chain. I paste the certificate for the server first, then the intermediate certificate.

Did you get a new private key by any chance ?

safe crown
#

I just got the cert mate that was it

errant dove
safe crown
#

Cheers mate

errant dove
#

did you send an email ?