Fresh install core 170 error no server.crt so cannot access webui

My IPFire went wonky today so I performed a fresh install.

After a fresh install I am now getting the error AH00526: Syntax error on line 18 of /etc/httpd/conf/vhosts.d/ipfire-interface-ssl.conf: SSLCertificateFile: file ‘/etc/httpd/server.crt’ does not exist or is empty

I cannot access the web interface now. It appears to be working well otherwise. How can I fix this?

If you are really sure that nothing else went wrong when installing then you can create a new SSL certificate for IPFire see wiki link below.

https://wiki.ipfire.org/optimization/ssl_cert

However something serious must have gone wrong during the installation to not have the server.crt file present so my preference would be to re-try the installation again.

The above link will remake all the required files for the SSL certificate. Was it just the server.crt file that is missing from /etc/httpd/ or are the server./key, server.csr, server-ecdsa.crt, server-ecdsa.key and server-ecdsa.csr also missing because that would indicate a whole section of the installation routine either didn’t happen or went wrong for some reason.

3 Likes

I’ll re-download the img file and re-install again. It appears to be missing everything so a bad install.