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

Link to comment
Share on other sites

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
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.