Re: ssl trouples

Markus <[email protected]>
Newsgroups gmane.comp.apache.mod-ssl.user
Message-ID <[email protected]>
Markus wrote:

> Phil Ehrens wrote:
>
>>Markus wrote:
>>  
>>
>>>Phil Ehrens wrote:
>>>
>>>    
>>>
>>>>Markus wrote:
>>>>
>>>>
>>>>      
>>>>
>>>>>Made all the ca.key and the server.key and sign it via sign.sh everthing 
>>>>>looked good so far.
>>>>>
>>>>>then the misery begins.
>>>>>
>>>>>./configure --with apache... --with-ssl --with-mm 
>>>>>--with-crt=/var/local/certs --with -key=/var/local/private  
>>>>>--prefix=../apache_1.3.35  --enabled-shared-ssl
>>>>>
>>>>>Error:
>>>>>cannot find SSL x.509 certificated file /var/local/certs
>>>>>  
>>>>>
>>>>>        
>>>>>
>>>>It wants the path to the cert, not to the directory containing
>>>>the cert. I wonder why they didn't use --with-cert for the
>>>>option name?!
>>>>
>>>>      
>>>>
>>>I put that path in, however it still doesn't work. I put it in like this:
>>>the certs and keys are in /usr/local/certs and /usr/local/private.
>>>and i put in/usr/local/certs
>>>and /usr/local/private
>>>    
>>>
>>
>>It wants something like:
>>
>>/usr/local/certs/httpdcert.pem
>>                ^^^^^^^^^^^^^^
>>                      |
>>               filename of cert
>>______________________________________________________________________
>>Apache Interface to OpenSSL (mod_ssl)                   www.modssl.org
>>User Support Mailing List                      [email protected]
>>Automated List Manager                            [email protected]
>>
>>
>>  
>>
> [Mon May 22 21:56:26 2006] [error] mod_ssl: Init: Private key not 
> found (OpenSSL library error follows)
> [Mon May 22 21:56:26 2006] [error] OpenSSL: error:0D094068:asn1 
> encoding routines:d2i_ASN1_SET:bad tag
> [Mon May 22 21:56:26 2006] [error] OpenSSL: error:0D0680A8:asn1 
> encoding routines:ASN1_CHECK_TLEN:wrong tag
> [Mon May 22 21:56:26 2006] [error] OpenSSL: error:0D07803A:asn1 
> encoding routines:ASN1_ITEM_EX_D2I:nested asn1 error
> [Mon May 22 21:56:26 2006] [error] OpenSSL: error:0D09A00D:asn1 
> encoding routines:d2i_PrivateKey:ASN1 lib
>
> Someone can put me in the right direction where i have to lok to solve 
> this error ?

oopsy.. forgot to mention, this is in the apache error log.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.