Using STUNNEL for Openssl
Is Stunnel a good solution for using openssl? Are the better solutions than Stunnel to create my .pem files?
September 22nd, 2011 10:18pm
What are you trying to create/convert in PEM format?
If you want to use openssl to generate a self signed certificate in pem format:
1. generate a private/public keys pair: openssl genrsa -out privkey.pem 1024
2. create a self signed certificate : openssl req -new -x509 -key privkey.pem -out cert.pem -days 1095
If you want to convert existing certificate to pem format:
from pfx to pem: openssl pkcs12 -in cert.pfx -out cert.pem –nodes
from der to pem: openssl x509 –in input.crt –inform DER –out output.crt –outform PEM
/Hasain
Free Windows Admin Tool Kit Click here and download it now
September 23rd, 2011 1:13am


