I am trying to setup a secure webdav for personal use on a server at home (I want to host out my Mozilla Calendar information so I can sync between school and work and home).
Apache is up and running fine. SSL appears to be running as well.
netstat -tpan | grep 443 returns:
tcp 0 0 0.0.0.0:443 0.0.0.0:* LISTEN 12842/httpd
However, if I try to access it all via
https://, I get the following error:
[Wed Aug 04 10:31:01 2004] [warn] RSA server certificate CommonName (CN) `localhost' does NOT match server name!?
Now, in httpd.conf, my ServerName directive is localhost. However, I've tried a ton of different names. I've tried 192.168.0.103, which is it's local ipaddress on the LAN. I've tried the IP address that I use to access the server remotely (my cable modem IP, the firewall redirects to my server). I've tried turning
UseCanonicalName
both on and off. Each time I change the ServerName entry in httpd.conf, I make a new .pem file with that info, and replace the old. So, in other words, I've gotten the above error each time with my CN being localhost, 192.168.0.103, my WAN IP... I just can't figure it out.
I'm not sure how to check what ServerName the server ends up using, i.e. what CommonName is trying to compare itself against ...
Any suggestions?
EDIT: I also get the following error at the same time:
[Wed Aug 04 10:48:00 2004] [warn] RSA server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)
EDIT: I am using RedHat 9, and the command
$> rpm -qa | grep httpd
returns:
httpd-devel-2.0.40-21.11
redhat-config-httpd-1.0.1-18
httpd-manual-2.0.40-21.11
httpd-2.0.40-21.11
The command
$> rpm -qa | grep -i ssl
returns:
openssl-0.9.7a-20.2
openssl-devel-0.9.7a-20.2
pyOpenSSL-0.5.1-8
mod_ssl-2.0.40-21.11