H
H
Hint2015-12-16 12:19:03
CentOS
Hint, 2015-12-16 12:19:03

Why does curl sometimes complain about the Yandex.Money SSL certificate?

A few days ago, curl started giving an error about a problem with the money.yandex.ru certificate. The strangest thing is that it happens somewhere every other time. I just write curl https://money.yandex.ru/ in the CentOS console and in 50% of cases I get the following:


curl : ( 60 ) Peer certificate cannot be authenticated with known CA certificates (CA certs). If the default bundle file isn't adequate, you can specify an alternate file using the --cacert option. If this HTTPS server uses a certificate signed by a CA represented in the bundle, the certificate verification probably failed due to a problem with the certificate (it might be expired, or the name might not match the domain name in the URL). If you'd like to turn off curl's verification of the certificate, use

the -k (or --insecure) option.

What can be wrong? No proxy is used.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
P
Puma Thailand, 2015-12-16
@Hint

usually it helps to update the curl to the latest version and root certificates in the distribution

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question