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

Re: apt-get install apache-ssl -- problems making Certificate Request



On (07/06/06 21:54), David Christensen wrote:
> debian:
> 
> I am attempting to install apache-ssl on a fresh 3.1r1 installation.  When I
> ran apt-get, I think it barfed on something I entered for the SSL
> certificate (?):
> 
>     # apt-get install apache-ssl
>     <snip>
>     Setting up apache-ssl (1.3.33-6sarge1) ...
>     Generating a 1024 bit RSA private key
>     ...................................................................+
> +++++
>     .................++++++
>     writing new private key to '/etc/apache-ssl/apache.pem'
>     -----
>     problems making Certificate Request
>     4517:error:0D07A097:asn1 encoding routines:ASN1_mbstring_copy:string
>  too long:a_mbstr.c:154:maxsize=2
>     dpkg: error processing apache-ssl (--configure):
>      subprocess post-installation script returned error exit status 1
>     Errors were encountered while processing:
>      apache-ssl
>     E: Sub-process /usr/bin/dpkg returned an error code (1)

> Looking for /etc/apache-ssl/apache.pem, the file exists and appears to
> contain an RSA key:

> How do I get apache-ssl working?

You could try dpkg-reconfigure apache-ssl, of a apt-get remove --purge
apache-ssl, then reinstall it.

Otherwise googling for apache ssl will bring up a lot of hits, some of
which will probably tell you how to create the certificates, and where
to place them. 

http://www.debian-administration.org/articles/31
http://www.debian-administration.org/articles/284

James

-- 
  James Westby
  jw+debian@jameswestby.net
  http://jameswestby.net/



Reply to: