On 5/10/2019 8:57 AM, surya chandrika via curl-library wrote:
> I Ran the following
>
> -sh-4.2$ HOST=; echo | openssl s_client -servername $HOST
> -connect $HOST:443 2>/dev/null | openssl x509 -noout -checkhost $HOST
> unable to load certificate
> 139697300731712:error:0906D06C:PEM
I Ran the following
-sh-4.2$ HOST=; echo | openssl s_client -servername $HOST -connect
$HOST:443 2>/dev/null | openssl x509 -noout -checkhost $HOST
unable to load certificate
139697300731712:error:0906D06C:PEM routines:PEM_read_bio:no start
line:crypto/pem/pem_lib.c:691:Expecting: TRUSTED
On 5/8/2019 12:32 AM, surya chandrika wrote:
> Disabling CURLOPT_SSL_VERIFYHOST worked. Yes as you said this is not
> recommended.
> But am not sure why certificate with correct hostname is not
> recognized from uploaded certificate.
> I added certificate in path
On Wed, 8 May 2019, surya chandrika via curl-library wrote:
But am not sure why certificate with correct hostname is not recognized
from uploaded certificate.
The problem is that you connect to hostname XYZ but the certificate provided
by this XYZ doesn't list that name as one of names the
Hi,
Disabling CURLOPT_SSL_VERIFYHOST worked. Yes as you said this is not
recommended.
But am not sure why certificate with correct hostname is not recognized
from uploaded certificate.
I added certificate in path "/etc/pki/ca-trust/source/anchors/
In verbose mode it says it got 5 certificate
On 5/7/2019 1:14 PM, surya chandrika via curl-library wrote:
> There a php script which tries to push data to destination host .
> Looks like after curl update in-secure option is not working.
> a self sign certificate with CN as the destination host was copied to
>
Hi,
There a php script which tries to push data to destination host . Looks
like after curl update in-secure option is not working.
a self sign certificate with CN as the destination host was copied to
/etc/pki/ca-trust/source/anchors/
and ran update-ca-trust
the following option is also set