Hi all,
I have a webserver running lighttpd. At one point, SSL was working fine, but the server-side certificates issued by CA-cert have expired, and I am having trouble updating them.
First, I created a new .csr key:
Code:
openssl req -nodes -new -keyout venus.key -out venus.csr
I pasted the contents of the .csr file in the input field at ca-cert.org. The output I pasted into <s>venus.csr</s> venus.cst.
To create the pem file, I ran:
Code:
cat venus.key venus.crt > venus.pem
Contents of /etc/ssl/certs is now:
Code:
-rw-r--r-- 1 root colin 1522 Sep 17 18:37 venus.crt
-rw-r--r-- 1 root wheel 651 Sep 17 18:34 venus.csr
-rw-r--r-- 1 root wheel 887 Sep 17 18:34 venus.key
-rw-r--r-- 1 root wheel 2409 Sep 17 18:54 venus.pem
I restart lighttpd.
However, when I try to acess my server via https, it keeps returning an error message:
Quote:
This Connection is Untrusted
Technical Details
myserver uses an invalid security certificate.
The certificate expired on 10/30/2008 10:56 PM.
(Error code: sec_error_expired_certificate)
|
For some reason, lighttpd is still reading an older certificate.
For the sake of completeness, here are the relevents snippets from lighttpd.conf:
Code:
$SERVER["socket"] == ":443" {
ssl.engine = "enable"
ssl.pemfile = "/etc/ssl/certs/venus.pem"
ssl.ca-file = "/etc/ssl/certs/venus.crt"
server.name = "myserver"
}
I seem to be missing a step somewhere. Anything ideas?
Thanks.