dhimok Posted February 16, 2007 Share Posted February 16, 2007 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 Link to comment https://forums.phpfreaks.com/topic/38786-help-with-ssl-on-windows-local-machine-apache-server/ Share on other sites More sharing options...
Stray_Bullet Posted February 17, 2007 Share Posted February 17, 2007 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... Link to comment https://forums.phpfreaks.com/topic/38786-help-with-ssl-on-windows-local-machine-apache-server/#findComment-186905 Share on other sites More sharing options...
dhimok Posted February 18, 2007 Author Share Posted February 18, 2007 Thanks man, I thought about that for a second but never paid any attention to that thought. I tried it now at all ok. Thanks again Link to comment https://forums.phpfreaks.com/topic/38786-help-with-ssl-on-windows-local-machine-apache-server/#findComment-187621 Share on other sites More sharing options...
Stray_Bullet Posted February 18, 2007 Share Posted February 18, 2007 Your welcome! It had me stumped for a while lol! Link to comment https://forums.phpfreaks.com/topic/38786-help-with-ssl-on-windows-local-machine-apache-server/#findComment-187736 Share on other sites More sharing options...
dhimok Posted February 18, 2007 Author Share Posted February 18, 2007 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? Link to comment https://forums.phpfreaks.com/topic/38786-help-with-ssl-on-windows-local-machine-apache-server/#findComment-188178 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.