Apache2 reuqires the SSL-Cert package. On hosts where the host name is longer than 64-characters, then ssl-cert fails to configure and leaves Apache2 unconfigured.
ben@utlemming-22a:~$ sudo make-ssl-cert generate-default-snakeoil
Could not create certificate. Openssl output was:
Generating a 2048 bit RSA private key
.......................+++
.................................................+++
writing new private key to '/etc/ssl/private/ssl-cert-snakeoil.key'
-----
problems making Certificate Request
139776384734880:error:0D07A097:asn1 encoding routines:ASN1_mbstring_ncopy:string too long:a_mbstr.c:154:maxsize=64
Apache2 reuqires the SSL-Cert package. On hosts where the host name is longer than 64-characters, then ssl-cert fails to configure and leaves Apache2 unconfigured.
ben@utlemming- 22a:~$ hostname -f 22a.139cd93ba28 0479588e4157eac 561a0b. utlemming- 22a.525551751. uswest. internal. utlemmings- excellent- cloud.com
utlemming-
ben@utlemming- 22a:~$ sudo make-ssl-cert generate- default- snakeoil ....... ....... ..+++ ....... ....... ....... ....... ....... ....... +++ private/ ssl-cert- snakeoil. key' :error: 0D07A097: asn1 encoding routines: ASN1_mbstring_ ncopy:string too long:a_ mbstr.c: 154:maxsize= 64
Could not create certificate. Openssl output was:
Generating a 2048 bit RSA private key
.......
.......
writing new private key to '/etc/ssl/
-----
problems making Certificate Request
139776384734880
ProblemType: Bug ature: Ubuntu 3.2.0-24.38-generic 3.2.16 dules: nvidia ture: all
DistroRelease: Ubuntu 12.04
Package: ssl-cert 1.0.28
ProcVersionSign
Uname: Linux 3.2.0-24-generic x86_64
NonfreeKernelMo
ApportVersion: 2.0.1-0ubuntu7
Architecture: amd64
Date: Fri May 25 14:01:45 2012
EcryptfsInUse: Yes
InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Beta amd64+mac (20120327.1)
PackageArchitec
SourcePackage: ssl-cert
UpgradeStatus: No upgrade log present (probably fresh install)