apache segfaults on startup after specifying the certificate file and key
Mark Robinson <[email protected]>
| Newsgroups | gmane.comp.apache.mod-ssl.user |
|---|---|
| Message-ID | <[email protected]> |
Hi all, I am running freebsd 6.1 and apache 2.2.0_7 I am new to SSL and have configured a self-signed certificate according to http://slacksite.com/apache/certificate.html I placed the .crt and .pem files in /usr/local/etc/apache22 and set the .pem file readable only by root When I start up apache it gives a segmentation fault and stops. When set the logging option in httpd.conf to debug. The log file shows the following before the seg fault: [Sat Dec 30 00:48:27 2006] [info] Init: Seeding PRNG with 136 bytes of entropy [Sat Dec 30 00:48:27 2006] [info] Loading certificate & private key of SSL-aware server [Sat Dec 30 00:48:27 2006] [debug] ssl_engine_pphrase.c(469): unencrypted RSA private key - pass phrase not required [Sat Dec 30 00:48:27 2006] [info] Init: Generating temporary RSA private keys (512/1024 bits) [Sat Dec 30 00:48:27 2006] [info] Init: Generating temporary DH parameters (512/1024 bits) [Sat Dec 30 00:48:27 2006] [info] Init: Initializing (virtual) servers for SSL [Sat Dec 30 00:48:27 2006] [info] Configuring server for SSL protocol [Sat Dec 30 00:48:27 2006] [debug] ssl_engine_init.c(405): Creating new SSL context (protocols: SSLv2, SSLv3, TLSv1) [Sat Dec 30 00:48:27 2006] [debug] ssl_engine_init.c(601): Configuring permitted SSL ciphers [ALL:!ADH:!EXPORT56:RC4+RSA:+HIGH: +MEDIUM:+LOW:+SSLv2:+EXP:+eNULL] [Sat Dec 30 00:48:27 2006] [debug] ssl_engine_init.c(729): Configuring RSA server certificate [Sat Dec 30 00:48:27 2006] [warn] RSA server certificate CommonName (CN) `mail.reoins.com' does NOT match server name!? [Sat Dec 30 00:48:27 2006] [debug] ssl_engine_init.c(768): Configuring RSA server private key [Sat Dec 30 00:48:27 2006] [info] Server: Apache/2.2.0, Interface: mod_ssl/2.2.0, Library: OpenSSL/0.9.8a [Sat Dec 30 00:48:27 2006] [info] mod_unique_id: using ip addr 209.163.210.42 Thanks for any help or suggestions. ______________________________________________________________________ Apache Interface to OpenSSL (mod_ssl) www.modssl.org User Support Mailing List [email protected] Automated List Manager [email protected]