httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From LuKreme <>
Subject [users@httpd] Re: Secure and unsecure apache
Date Thu, 06 Aug 2009 08:17:36 GMT
On 3-Aug-2009, at 18:39, Eric Covener wrote:
> On Mon, Aug 3, 2009 at 8:16 PM, LuKreme<> wrote:
>> <VirtualHost *:443>
>>   ServerName
>>   SSLCertificateFile /usr/local/etc/apache22/server.pem
>>   SSLCertificateKeyFile /usr/local/etc/apache22/server.key
>>   ServerAdmin
>>   DocumentRoot /usr/local/www/squirrelmail/
>>    ErrorLog /var/log/httpd-error.log
>>    CustomLog /var/log/httpd-access.log combined
>>    DirectoryIndex secure.html
>> </VirtualHost>

OK, now at least I get something in the error log (added SSLEngine on):

[Thu Aug 06 02:08:38 2009] [notice] caught SIGTERM, shutting down
[Thu Aug 06 02:08:45 2009] [error] Init: Unable to read server  
certificate from file /usr/local/etc/apache22/server.pem
[Thu Aug 06 02:08:45 2009] [error] SSL Library Error: 218529960 error: 
0D0680A8:asn1 encoding routines:ASN1_CHECK_TLEN:wrong tag
[Thu Aug 06 02:08:45 2009] [error] SSL Library Error: 218595386 error: 
0D07803A:asn1 encoding routines:ASN1_ITEM_EX_D2I:nested asn1 error

Remember, server.pem is there.

$ ls -ls /usr/local/etc/apache22/server.pem
2 -rw-r--r--  1 root  wheel  891 May  3  2007 /usr/local/etc/apache22/ 

I can recreate the pem and key files I suppose, I was just using self- 
signed ones anyway. Is that what I need to do?

You think you can catch Keyser Soze? You think a guy like that
	comes this close to getting caught, and sticks his head out? If
	he comes up for anything it'll be to get rid of me. After that
	my guess is you'll never hear from him again.

The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message