Enter the certificate all on one line. Do not put "-----BEGIN CERTIFICATE-----", "-----END CERTIFICATE-----", or any spaces or new lines.