Bug#156081: apache-ssl will not install due to error in ssleay.cnf
I am using a Dell Optiplex GXM 5166 with kernel 2.2.20-compact.
I have newly installed the compact version of 3.0r0 (stable). During install, using dselect, I chose apache-ssl.
Just for reference, the other packages were mysql-server, python2.2, python2.2-mysql bsd-ftpd, php4, php4-mysql, and curl.
On the [I]nstall phase after dselect, this error occurred, and persisted on repeated install attempts suggested by installer:
Setting up apache-ssl (126.96.36.199+1.48-0woody2) ...
creating selfsingned certificate [that's typo in the install script - Eric]
replace it with one signed by a certificate authority (CA)
enter your ServerName at the Common Name prompt
if you want your certificate to expire after x days call this program
with -days x
Using configuration from /usr/share/apache-ssl/ssleay.cnf
error on line 5 of /usr/share/apache-ssl/ssleay.cnf
4450:error:0E065068:configuration file routines:STR_COPY:variable has no value:c
dpkg:error processing apache-ssl (--configure):
subprocess post-installation script returned error exit status 1
Errors were encountered while processing:
E: subprocess /usr/bin/dpkg returned an error code (1)
Some errors occured while unpacking. I'm going to configure the
packages that were installed. [...and the rest of the standard error message from dselect]
The fifth line in /usr/share/apache-ssl/ssleay.cnf is:
RANDFILE = $ENV::HOME/.rnd
It's also the first noncomment line in the file.
The HOME env variable is /root, and there is no .rnd file there, or anywhere else.
This breaks the install of apache-ssl completely, but I'm not sure why the example file would matter for that.
I appreciate your hard work and any help you can give me.
- Eric Etheridge
School of Biological Sciences