Jump to content

Help with SSL on windows local machine - apache server


dhimok

Recommended Posts

Hello everyone.

 

I have a question.

 

I am trying to work with ssl on my local server, and i have installed openSSL for win32. I run the openssl command line tool to register a certificate

(openSSL > req -config openssl.cnf -new -out myCert.csr) and it generates a 1024 rsa private key, privkey.pem and then the command line promts me

to enter a PEM pass phrase: and then i can't continue anymore my keyboard locks. Am I missing something here? Any ideas? Do i need to do something with configure file openssl.cnf? I have no idea :)

 

Thanks in advance

Hehe I been through the same thing...

 

When you think your keyboard locks up, it doesn't! Just enter your PEM pass phrase, then hit enter. It will ask you to re-enter your PEM pass phrase, then press enter again...

 

8)

Hey man, can u give me some help to configure the httpd.conf file with mod_ssl? So far i have created localCert.cert and localCert.key and I placed them in conf/ folder where httpd.conf is located under ssl folder like this:

 

conf/ssl/localCert.cert
conf/ssl/localCert.key

 

I put this at the end of conf file:

 

 

<IfDefine HAVE_SSL>

<VirtualHost localhost:443>
DocumentRoot /public_html
ServerName localhost
ServerAlias localhost
SSLEngine on
SSLCertificateFile conf/ssl/localCert.cert
SSLCertificateKeyFile conf/ssl/localCert.key
SetEnvIf User-Agent ".*MSIE.*" nokeepalive ssl-unclean-shutdown
</VirtualHost>

</IfDefine>

 

and I loaded:

 

LoadModule ssl_module modules/mod_ssl.so

 

When i start apache 2.2 I get:

 

The requested operation has failed!

 

That's all. do u have any advices? Anything else I need to fix before I test?

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.