Closed ralyodio closed 2 years ago
It did not use to validate certificates properly. But now it does the validation correctly, but needs CA root certificates to that
Where are the CA certificates on your system?
Try it with the certificates from https://curl.haxx.se/ca/cacert.pem (put them where xidel can find them or use --ca-certificate=cacert.pem
)
this seems like unnecessary work. why would curl work but not xidel?
That depends on how it was installed.
With the -v option curl shows where it is gets the CA certificates from.
On my system:
$ curl -v https://marketwatch.com
* Trying 52.222.177.23:443...
* TCP_NODELAY set
* Connected to marketwatch.com (52.222.177.23) port 443 (#0)
* ALPN, offering h2
* ALPN, offering http/1.1
* successfully set certificate verify locations:
* CAfile: /etc/ssl/certs/ca-certificates.crt
CApath: /etc/ssl/certs
If you have them in /etc/ssl/
, too, Xidel should find them, too
CAPath is empty for me.
And CAFile?
same as yours.
Well, then it should work
Have you tried the cacert.pem ? Or the --no-check-certificate
option
What is your OpenSSL version?
no feedback