[stunnel-users] certificates, openssl and stunnel on windows

John Aldridge john.aldridge at informatix.co.uk
Wed Sep 12 13:20:06 CEST 2007


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!



More information about the stunnel-users mailing list