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 ?
Thanks for help,
k.
stunnel.cnf is practically redefined openssl.cnf. For creation of stunnel.pem itis not required. You can modify openssl.cnf according to your needs and that will do.
Bohdan
k-i-r@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 ?
Thanks for help,
k. _______________________________________________ stunnel-users mailing list stunnel-users@mirt.net http://stunnel.mirt.net/mailman/listinfo/stunnel-users
On Thursday 24 February 2005 11:38, k-i-r@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