unable to load certificate 16851:error:0906D06C:PEM routines:PEM_read_bio:no start line:pem_lib.c:650:Expecting: TRUSTED CERTIFICATE
Run both of two following commands and give us the output: openssl x509 -text -inform DER -in domain.com.crt openssl x509 -text -inform PEM -in domain.com.crt Problem is that you must be trying to print a certificate in DER format. Then it needs to be specified explicitly.