Hi All,
Without wishing to sound naïve I find this whole subject area to be extraordinarily riddled with cryptic explanations of how to configure stunnel to work with a key and certificate.
Using openssl I have generated a file including RSA private key and certificate which stunnel running as a server happily digests. Now I want to create the cer file that Windows will happily digest on the client side. Short of ripping the certificate out of the stunnel.pem file that I created using the command
openssl req -new -x509 -days 365 -nodes -config stunnel.cnf -out stunnel.pem -keyout stunnel.pem
what are the steps to getting that holy grail with a 'cer' extension?
Please educate David
David Schulberg wrote:
Now I want to create the cer file that Windows will happily digest on the client side. Short of ripping the certificate out of the stunnel.pem file that I created using the command
Here are the commands I use for the purpose
openssl genrsa 2048 > %1.key openssl req -new -x509 -nodes -sha1 -days 365 -key %1.key > %1.cert copy %1.key+%1.cert %1.pem openssl pkcs12 -export -in %1.pem > %1.p12
which seems to work, though I'm no kind of expert!