SSL error SSL3_GET_SERVER_CERTIFICATE:certificate verify failed

The file that you downloaded (http://curl.haxx.se/ca/cacert.pem) is a bundle of the root certificates from the major trusted certificate authorities. You said that the remote host has a self-signed SSL certificate, so it didn’t use a trusted certificate. The openssl.cafile setting needs to point to the CA certificate that was used to sign the SSL certificate … Read more

OpenSSL: PEM routines:PEM_read_bio:no start line:pem_lib.c:703:Expecting: TRUSTED CERTIFICATE

Since you are on Windows, make sure that your certificate in Windows “compatible”, most importantly that it doesn’t have ^M in the end of each lineIf you open it it will look like this:—–BEGIN CERTIFICATE—–^M MIIDITCCAoqgAwIBAgIQL9+89q6RUm0PmqPfQDQ+mjANBgkqhkiG9w0BAQUFADBM^M To solve “this” open it with Write or Notepad++ and have it convert it to Windows “style” Try to run openssl x509 -text -inform … Read more

what is meant by devel for openssl?

You’re correct – it’s short for “development package”. For Linux, you need a command like this: yum install openssl openssl-devel # for Redhat/Centos/openSUSE apt-get install openssl openssl-dev # for Debian/Ubuntu Note: these commands use the “package manager” to install both openssl (which it sounds like you already have: but it wouldn’t hurt to do an install), and … Read more