Error: "no start line:pem_lib.c" or "no end line:pem_lib.c"

For security routines, Apache SSL uses a toolkit called OpenSSL, which is very particular about the format of certificate requests and certificates. This error is specifically related to the format of the certificate. Check that there are 5 dashes before and after the BEGIN and END text, and that they form the first and last lines of the certificate, like so:

-----BEGIN CERTIFICATE-----
Encoded Certificate
-----END CERTIFICATE-----

Be careful when you cut and pasted the certificate from the browser to create the certificate text file. Make sure you remove any trailing spaces before and after the BEGIN or END lines, or you will see this error.