I was just wondering is there any way to automate the very first step in the documentation which is converting the .cer file to .p12 and then to .pem? Can this be done on server in NodeJS?
I guess I could somehow use node-forge PKCS #12 conversion methods to convert .cer to .p12 but I am not sure which ones exactly, and then probably use some OpenSSL client for NodeJS to convert .p12 to .pem
Thanks for a great library!
I was just wondering is there any way to automate the very first step in the documentation which is converting the
.cer
file to.p12
and then to.pem
? Can this be done on server in NodeJS?I guess I could somehow use
node-forge
PKCS #12 conversion methods to convert.cer
to.p12
but I am not sure which ones exactly, and then probably use some OpenSSL client for NodeJS to convert.p12
to.pem
Can you point me in the right direction?
Thank you!