This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

WebAdminCert.pem is empty

We ran into a drive space issue with our upgrade to 7.3.  The conversion filled up the drive and after poking around a bit we decided to do a clean install of 7.2 and then upgrade to 7.3 followed by a restore from backup of our configuration.

After doing all of this I was looking at some of the new features such as AD auth extensions.  I was able to make some changes to the SMTP configuration settings, removed some obsolete local user accounts, and imported our AD user list.  The WebAdmin interface stopped responding in the middle of this.  I refreshed the page expecting to log back in as I have done other times when the WebAdmin page stopped responding.  When I refreshed the page I got "site is not responding" message.  Looking for the simple solution I rebooted the machine from the command line using /etc/rc.d/restart start.  When the machine came back up the WebAdmin service failed to start and I could not find a log file with information about why it failed so I looked at the httpd start up script and manually typed in the chroot command to start apache.  The error I received was "WebAdminCert.pem: file does not exist or is empty".  After a quick check I was able to confirm that the file is in fact empty, along with the "WebAdminKey.pem" file.  Apache won't start because of this.

I need to either regenerate the cert files, or I need to configure WebAdmin to start with out this like is does during the initial setup so that I can generate these from the WebAdmin interface.

None of my attempts to use standard openssl commands to generate certs has worked so far...any ideas?

(I already opened a case with support about this, but thought I might find a quicker solution here.)


This thread was automatically locked due to age.
Parents
  • I've had this happen as well. I think the issue was the update from 7.200 to 7.201 then my customer doing a factory reset or something like that. the webadmin cert wasn't re-created. 

    It can be fixed easily, but you'll either need to get support to do it, or re-image the box and restore your backup. 7.300 ISO is available for download, so you could just image it with that.
  • Went though this with support yesterday.  If you have other certificates on the box, then you can use them to get the web admin temporarily running and then regenerate a the cert from the web admin interface.  I forgot the exact steps, but we used the cc command to set the webadmin/cert$ to one of the existing certificates.  Support can walk you through the simple 4 step process.
Reply
  • Went though this with support yesterday.  If you have other certificates on the box, then you can use them to get the web admin temporarily running and then regenerate a the cert from the web admin interface.  I forgot the exact steps, but we used the cc command to set the webadmin/cert$ to one of the existing certificates.  Support can walk you through the simple 4 step process.
Children
No Data