httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sander Temme <scte...@apache.org>
Subject Re: [users@httpd] Is it possible to start httpd, with reading the certificates of non-root user?
Date Tue, 04 Sep 2012 14:23:01 GMT
Ajay,

Looks like OpenSSL is finding something in your key file it can't parse... Windows line endings
maybe?

S. 

--
Sander Temme
sander@temme.net

Sent from my phone

On Sep 4, 2012, at 1:26 AM, Ajay Garg <ajaygargnsit@gmail.com> wrote:

> Hi all.
> 
> I have a WebDAV share setup in the context of httpd; and things work like a charm, when
the key- and crt-file are in the context of "root" user and "root" group.
> 
> 
> However, if I generate the key and crt files in the context of some other user; modify
the paths in "/etc/httpd/conf.d/ssl.conf", and try to restart, I get the logs ::
> 
> ##################################################################################################################################
> [Tue Sep 04 13:48:40 2012] [error] Init: Unable to read server certificate from file
/home/ajay/test_folder/ssl.key
> [Tue Sep 04 13:48:40 2012] [error] SSL Library Error: 218529960 error:0D0680A8:asn1 encoding
routines:ASN1_CHECK_TLEN:wrong tag
> [Tue Sep 04 13:48:40 2012] [error] SSL Library Error: 218595386 error:0D07803A:asn1 encoding
routines:ASN1_ITEM_EX_D2I:nested asn1 error
> ##################################################################################################################################
> 
> 
> 
> So, just wish to ask :: Am I doing something which is not possible (by design) ?  :)
> 
> Will be grateful for a reply.
> 
> 
> Thanks and Regards,
> Ajay
> 
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message