You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Ajay Garg <aj...@gmail.com> on 2012/09/04 11:33:42 UTC

[users@httpd] Re: Is it possible to start httpd, with reading the certificates of non-root user?

Never mind.. I am an idiot.

Sorry for the bother.

Regards,
Ajay

On Tue, Sep 4, 2012 at 1:56 PM, Ajay Garg <aj...@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
>
>
>