Forum archive
TKL Trac 14 appliance: no response on default http and https
I was just trying out the trac appliance and I'm having a strange behavior out of the box that I need some help with. After installation and first boot to set passwords and apply security updates, the server says its running and I CAN access the Webmin page. However, navigating to the root page (both http and https) showing nothing (the browser says it cannot connect to server). This makes me think that apache is somehow not listening on port 80 or 443 but is listening on the 12321 port.
This is my first time trying the trac appliance but I'm pretty sure there should be something on those ports to get into the various projects hosted on the revision systems and to get to trac.
/var/log/apache2/error.log shows the following (timestamps correspond to first and second boot):
[[Thu Nov 12 19:41:06.143570 2015] [ssl:error] [pid 2546:tid 140394725742464] AH02579: Init: Private key not found [Thu Nov 12 19:41:06.143619 2015] [ssl:error] [pid 2546:tid 140394725742464] SSL Library Error: error:0D0680A8:asn1 encoding routines:ASN1_CHECK_TLEN:wrong tag [Thu Nov 12 19:41:06.143631 2015] [ssl:error] [pid 2546:tid 140394725742464] SSL Library Error: error:0D08303A:asn1 encoding routines:ASN1_TEMPLATE_NOEXP_D2I:nested asn1 error [Thu Nov 12 19:41:06.143641 2015] [ssl:error] [pid 2546:tid 140394725742464] SSL Library Error: error:0D0680A8:asn1 encoding routines:ASN1_CHECK_TLEN:wrong tag [Thu Nov 12 19:41:06.143651 2015] [ssl:error] [pid 2546:tid 140394725742464] SSL Library Error: error:0D07803A:asn1 encoding routines:ASN1_ITEM_EX_D2I:nested asn1 error (Type=RSA) [Thu Nov 12 19:41:06.143660 2015] [ssl:error] [pid 2546:tid 140394725742464] SSL Library Error: error:04093004:rsa routines:OLD_RSA_PRIV_DECODE:RSA lib [Thu Nov 12 19:41:06.143669 2015] [ssl:error] [pid 2546:tid 140394725742464] SSL Library Error: error:0D0680A8:asn1 encoding routines:ASN1_CHECK_TLEN:wrong tag [Thu Nov 12 19:41:06.143679 2015] [ssl:error] [pid 2546:tid 140394725742464] SSL Library Error: error:0D07803A:asn1 encoding routines:ASN1_ITEM_EX_D2I:nested asn1 error (Type=PKCS8_PRIV_KEY_INFO) [Thu Nov 12 19:41:06.143683 2015] [ssl:emerg] [pid 2546:tid 140394725742464] AH02312: Fatal error initialising mod_ssl, exiting. [Thu Nov 12 19:41:06.143687 2015] [ssl:emerg] [pid 2546:tid 140394725742464] AH02564: Failed to configure encrypted (?) private key localhost:443:0, check /etc/ssl/certs/cert.pem AH00016: Configuration Failed [Thu Nov 12 19:31:28.338050 2015] [ssl:error] [pid 735:tid 140619460441984] AH02579: Init: Private key not found [Thu Nov 12 19:31:28.339055 2015] [ssl:error] [pid 735:tid 140619460441984] SSL Library Error: error:0D0680A8:asn1 encoding routines:ASN1_CHECK_TLEN:wrong tag [Thu Nov 12 19:31:28.339073 2015] [ssl:error] [pid 735:tid 140619460441984] SSL Library Error: error:0D08303A:asn1 encoding routines:ASN1_TEMPLATE_NOEXP_D2I:nested asn1 error [Thu Nov 12 19:31:28.339083 2015] [ssl:error] [pid 735:tid 140619460441984] SSL Library Error: error:0D0680A8:asn1 encoding routines:ASN1_CHECK_TLEN:wrong tag [Thu Nov 12 19:31:28.339094 2015] [ssl:error] [pid 735:tid 140619460441984] SSL Library Error: error:0D07803A:asn1 encoding routines:ASN1_ITEM_EX_D2I:nested asn1 error (Type=RSA) [Thu Nov 12 19:31:28.339104 2015] [ssl:error] [pid 735:tid 140619460441984] SSL Library Error: error:04093004:rsa routines:OLD_RSA_PRIV_DECODE:RSA lib [Thu Nov 12 19:31:28.339114 2015] [ssl:error] [pid 735:tid 140619460441984] SSL Library Error: error:0D0680A8:asn1 encoding routines:ASN1_CHECK_TLEN:wrong tag [Thu Nov 12 19:31:28.339124 2015] [ssl:error] [pid 735:tid 140619460441984] SSL Library Error: error:0D07803A:asn1 encoding routines:ASN1_ITEM_EX_D2I:nested asn1 error (Type=PKCS8_PRIV_KEY_INFO) [Thu Nov 12 19:31:28.339129 2015] [ssl:emerg] [pid 735:tid 140619460441984] AH02312: Fatal error initialising mod_ssl, exiting. [Thu Nov 12 19:31:28.339133 2015] [ssl:emerg] [pid 735:tid 140619460441984] AH02564: Failed to configure encrypted (?) private key localhost:443:0, check /etc/ssl/certs/cert.pem AH00016: Configuration Failed
As I'm digging around it seems that the errors above are specifically with SSL (can't find the private key) but this doesn't make sense. The output of the first boot showed it being generated and It's there under /etc/ssl/private and the apache ssl.conf file is identical to every other TLK appliance I've ever used where SSL works file.
More that that, it doesn't explain why standard HTTP on port 80 is not working. The 'ports.conf' shows it listening on port 80 and the sites-enabled/trac.conf shows it capturing port 80 and it looks reasonable. Kind of baffled here. Anyone else play with the trac appliance lately? FYI, this was installed from the recently added v14 .ova file to our own vmware hypervisor server.
Thanks!
Seth B.