Init: Private key not found – Apache Wont Start on CentOS

Problem

When attempting to update a certificate in Apache the webserver would not restart.

Apache Error Logs:

[Tue Oct 29 14:42:07 2019] [error] Init: Private key not found
[Tue Oct 29 14:42:07 2019] [error] SSL Library Error: 218529960 error:0D0680A8:asn1 encoding routines:ASN1_CHECK_TLEN:wrong tag
[Tue Oct 29 14:42:07 2019] [error] SSL Library Error: 218640442 error:0D08303A:asn1 encoding routines:ASN1_TEMPLATE_NOEXP_D2I:nested asn1 error
[Tue Oct 29 14:42:07 2019] [error] SSL Library Error: 218529960 error:0D0680A8:asn1 encoding routines:ASN1_CHECK_TLEN:wrong tag
[Tue Oct 29 14:42:07 2019] [error] SSL Library Error: 218595386 error:0D07803A:asn1 encoding routines:ASN1_ITEM_EX_D2I:nested asn1 error
[Tue Oct 29 14:42:07 2019] [error] SSL Library Error: 67710980 error:04093004:rsa routines:OLD_RSA_PRIV_DECODE:RSA lib
[Tue Oct 29 14:42:07 2019] [error] SSL Library Error: 218529960 error:0D0680A8:asn1 encoding routines:ASN1_CHECK_TLEN:wrong tag
[Tue Oct 29 14:42:07 2019] [error] SSL Library Error: 218595386 error:0D07803A:asn1 encoding routines:ASN1_ITEM_EX_D2I:nested asn1 error
[Tue Oct 29 14:47:13 2019] [notice] SELinux policy enabled; httpd running as context unconfined_u:system_r:httpd_t:s0
 

Resolution:

It appeared when i scp'd over the file from another server the format was a bit messed up. I copied and pasted the content from the original key into the file and restarted Apache. All good.