I recently did a series of upgrades to a server running a web application:
- PHP 5.3 to PHP 5.5
- Apache 2.2 to Apache 2.4
To be more precise, the upgrade required that Apache, PHP, and all mods (including mod_ssl) be uninstalled, and that newer versions be installed.
After the installation updating ssl.conf with the path to my cert/pk as it was before the update, when trying to start Apache, I am getting the following 3 errors in ssl_error_log
:
AH02561: Failed to configure certificate [theserver]:443:0, check [/path/to/me/crt]
SSL Library Error: error:0906D066:PEM routines:PEM_read_bio:bad end line
SSL Library Error: error:140AD009:SSL routines:SSL_CTX_use_certificate_file:PEM lib
My first guess as to why, is that the re-installation changed the environment in such a way that the cert is no longer valid on the server. I can reissue, but in my case it means some down time in my production environment and re-configuring a load balancer, which I'd like to avoid if this is not the case.
Is it likely that the cert needs to be resigned/reissued, or am I looking at another error here?