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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Never mind.. I am an idiot.

Sorry for the bother.

Regards,
Ajay

On Tue, Sep 4, 2012 at 1:56 PM, 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




[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux