Return-Path: X-Original-To: apmail-httpd-users-archive@www.apache.org Delivered-To: apmail-httpd-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id CAE16DA4F for ; Tue, 4 Sep 2012 09:34:21 +0000 (UTC) Received: (qmail 38485 invoked by uid 500); 4 Sep 2012 09:34:18 -0000 Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 38008 invoked by uid 500); 4 Sep 2012 09:34:13 -0000 Mailing-List: contact users-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: users@httpd.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list users@httpd.apache.org Received: (qmail 37955 invoked by uid 99); 4 Sep 2012 09:34:11 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 04 Sep 2012 09:34:11 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of ajaygargnsit@gmail.com designates 209.85.210.45 as permitted sender) Received: from [209.85.210.45] (HELO mail-pz0-f45.google.com) (209.85.210.45) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 04 Sep 2012 09:34:03 +0000 Received: by dadn15 with SMTP id n15so4834535dad.18 for ; Tue, 04 Sep 2012 02:33:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=snQ29Zx4K/zHks/TSA8fBheWA69nyTvjrKQJKL5aYfs=; b=gxwwuBMvWTmeLwSK18jJiACQxbIPIuYSt2QFq30H4sgsH8fZUasfgZsZyX7q+C1shv hK5DjWjaLRJ/2RI8yuseeu1jsPvnVJyyPbithHgw1FW0BSCJrfS9rS1bgY1rSDtEKKHN 81xfUcfJbyUajhEJ3XgItSIzUSXEqXaWwbBJf8BQ+Dw2TbzM41WuwlXmcw/jA2ptWQNv kAsoRmhvrNmLDTvwgRWA/c4R6gxKc8edeyrKhE19Z06Be4Rn3Y55IJtc6PSnKOPKHF25 VkdImBCzXAy6Ol5l5WjiGZqzIZ2gyx9CDhHIESc06wRQZg+NB3Jyqyl6RPNshpdR6x/l iWWg== MIME-Version: 1.0 Received: by 10.68.203.230 with SMTP id kt6mr44122289pbc.163.1346751222526; Tue, 04 Sep 2012 02:33:42 -0700 (PDT) Received: by 10.68.43.169 with HTTP; Tue, 4 Sep 2012 02:33:42 -0700 (PDT) In-Reply-To: References: Date: Tue, 4 Sep 2012 15:03:42 +0530 Message-ID: From: Ajay Garg To: users@httpd.apache.org Content-Type: multipart/alternative; boundary=047d7b15aac93832e004c8dcf449 Subject: [users@httpd] Re: Is it possible to start httpd, with reading the certificates of non-root user? --047d7b15aac93832e004c8dcf449 Content-Type: text/plain; charset=ISO-8859-1 Never mind.. I am an idiot. Sorry for the bother. Regards, Ajay On Tue, Sep 4, 2012 at 1:56 PM, Ajay Garg 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 > > > --047d7b15aac93832e004c8dcf449 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Never mind.. I am an idiot.

Sorry for the bother.

Regards,Ajay

On Tue, Sep 4, 2012 at 1:56 PM, Aja= y Garg <ajaygargnsit@gmail.com> wrote:
Hi all.

I have a W= ebDAV share setup in the context of httpd; and things work like a charm, wh= en the key- and crt-file are in the context of "root" user and &q= uot;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", an= d try to restart, I get the logs ::

#######################################################################= ###########################################################
[Tue Sep 04 = 13:48:40 2012] [error] Init: Unable to read server certificate from file /h= ome/ajay/test_folder/ssl.key
[Tue Sep 04 13:48:40 2012] [error] SSL Library Error: 218529960 error:0D068= 0A8:asn1 encoding routines:ASN1_CHECK_TLEN:wrong tag
[Tue Sep 04 13:48:4= 0 2012] [error] SSL Library Error: 218595386 error:0D07803A:asn1 encoding r= outines:ASN1_ITEM_EX_D2I:nested asn1 error
###########################################################################= #######################################################



So, = just wish to ask :: Am I doing something which is not possible (by design) = ?=A0 :)

Will be grateful for a reply.


Thanks and Regards,
Ajay


--047d7b15aac93832e004c8dcf449--