SSL on localhost

palb

Well-Known Member
#1
I'm trying to set up a private key and cert using SSL on localhost, but I fail. How should I do this? And can you do it, or does it have to be a real domain?

I use Rails and have each app under a separate VH and Listener
 

palb

Well-Known Member
#3
There should not be any problem, usually, the browser will give a warning for a self signed certificate. why you failed?
Then I know it's possible. Always a good start. :)

It must be something I do wrong then. I hava a listener with these settings:

Name: SSL
IP: Any
Port: 443
Secure: yes

The SSL settings are:

Private Key File: path_to/server.key
Certificate File: path_to/server.crt
SSL 3
Encyptionlevel: MEDIUM

I have added one of my local apps to that, the VH, with domain set to 127.0.0.1, localhost, 192.168.1.2

What do you think? Is this correct, for a local environment?
 

palb

Well-Known Member
#8
How do I do if I only want to use SSL on a certain path, like /users/login and all other pages which require you to login? (Sorry, but I'm completely new to SSL.)
 
Top