Debian SSL + apache2
hi, im trying to setup a secure web server with apache2 on a debian lenny netinst.
I have apache working, http://ipaddrress will direct me to the "It works!" page. I created a folder usr/var/www/secure for my secure part. I generated a self signed certificate with openssl (please let me know if I did this right) Code:
openssl genrsa -out ca.key 1024 Code:
openssl req -new -key ca.key -out ca.csr Code:
openssl x509 -req -days 365 -in ca.csr -signkey ca.key -out ca.crt I made a symlink to it: apache2/site-enabled/ssl Code:
<VirtualHost *:443> Code:
# If you just change the port or add more ports here, you will likely also |
Hi,
First, if you made any changes to ports.conf, I would revert them. It shouldn't need to be changed to get SSL working. Next, your certificate generation looks correct except for the step that removes the password from the certificate: Code:
cp ca.key ca.key.orig In your apache config, I would also specify the full path to the key and cert, not a relative one. Finally, to make your apache config file a little easier to read, this should be the bare minimum needed to get it working. This might also eliminate any other errors if present: Code:
<VirtualHost *:443> |
All times are GMT -5. The time now is 12:43 AM. |