Sander,

I was stupid; when I changed the paths of the key-file and the cert-file, I
interchanged them (put the cert-path where the key was expected; and
vice-versa).


Sorry.


Regards,
Ajay

On Tue, Sep 4, 2012 at 7:53 PM, Sander Temme <scte...@apache.org> wrote:

> Ajay,
>
> Looks like OpenSSL is finding something in your key file it can't parse...
> Windows line endings maybe?
>
> S.
>
> --
> Sander Temme
> san...@temme.net
>
> Sent from my phone
>
> On Sep 4, 2012, at 1:26 AM, Ajay Garg <ajaygargn...@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-unsubscr...@httpd.apache.org
> For additional commands, e-mail: users-h...@httpd.apache.org
>
>

Reply via email to