Skip to main content

I want to create a PKS/P12 certificate file from the RSA key pair for JWT.  Have tried open SSL command 

openssl.exe pkcs12 -export -out docusign.pfx -inkey docusign.key -in docusign.crt

With the inputs as the Private and Public key contents, but getting ‘unable to load certificates’

 

 

I figured it out, needed to create a new self signed certificate:

 

c:\OpenSSL\SSL\openssl req -new -key docusign.key -out docusign.csr

c:\OpenSSL\SSL\openssl x509 -req -days 3650 -in docusign.csr -signkey docusign.key -out docusign.crt

c:\OpenSSL\SSL\openssl pkcs12 -export -out docusign.p12 -inkey docusign.key -in docusign.crt