[stunnel-users] openssl - generating stunnel.pem - stunnel.cnf

Vincent van Scherpenseel mailinglists at vanscherpenseel.nl
Thu Feb 24 15:24:33 CET 2005


On Thursday 24 February 2005 11:38, k-i-r at web.de wrote:
> Using Stunnel under Windows I want to create a certificate (stunnel.pem)
> with Openssl. According to FAQ the syntax for creating a certificate with
> Openssl is
>
> openssl req -new -x509 -days 365 -nodes -config stunnel.cnf -out
> stunnel.pem -keyout stunnel.pem
>
> I use openssl for windows (as part of apache-windows-http-server) .
>
> Where do I get the file stunnel.cnf ?
>
> Or is this file not necessary for creating a certificate ?

If you leave the 'config stunnel.cnf' part out of the command you'll be asked 
some questions you'll have to answer (Location, Department, Name (make this 
the name of your machine), etc. After that, your fresh certificate is ready 
for use :)

HTH, Vincent va Scherpenseel



More information about the stunnel-users mailing list