cancel
Showing results for 
Search instead for 
Did you mean: 

Private key from REST call is not encoded in base64, that's not in PEM format.

bcrogerz
New Contributor

Private key from REST call is not encoded in base64, that's not in PEM format.

A call from below REST URI returns list of certificates

One of certificate contains private key in a format as below,

private :   "<edited>"

 

This is private key from REST call is not encoded in base64, that's not in PEM format.

 

Could you help me how we can decode and turns into PEM type?

 

Thanks in advance.

 

1 REPLY 1
Nick.Davidson
Occasional Contributor

Re: Private key from REST call is not encoded in base64, that's not in PEM format.

Hi bcrogerz,

 

Currently a GEt to ssl private keys in the REST API returns the fingerprint of the private key, private keys are PUT only via REST and can't be read back.

 

Regards,

 

Nick