Ajay,
Looks like OpenSSL is finding something in your key file it can't parse... Windows line endings maybe?
S.
--
Sander Temme
sander@xxxxxxxxx
Sent from my phone
---------------------------------------------------------------------
On Sep 4, 2012, at 1:26 AM, Ajay Garg <ajaygargnsit@xxxxxxxxx> 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@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx