I've been trying to generate a self signed certificate to get SSL working on
a very simple internal web server.  I'm using a windows server 2003 box so I
got the open SSL windows binaries from
http://www.slproweb.com/products/Win32OpenSSL.html.  Using a HOWTO I found
here http://www.sitepoint.com/article/securing-apache-2-server-ssl/  I used
the following command to try and generate a cert:

openssl req -new -key domainname.com.key -x509 -out sslname.crt

I got an error on that one so I tried a command the openssl.org
documentation had:

openssl req -new -key privkey.pem -out cert.csr

Again I got an error like this:
Error opening Private Key privkey.pem
3924:error:02001002:system library:fopen:No such file or
directory:.\crypto\bio\bss_file.c:356:fopen
3924:error:20074002:BIO routines:FILE_CTRL:system
lib:.\crypto\bio\bss_file.c:358:
unable to load Private Key

Any idea what the problem is?
-- 
View this message in context: 
http://www.nabble.com/Trouble-generating-a-self-signed-certificate-tp23869634p23869634.html
Sent from the OpenSSL - User mailing list archive at Nabble.com.
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    openssl-users@openssl.org
Automated List Manager                           majord...@openssl.org

Reply via email to