awsl
December 4, 2021, 12:26pm
23
But,I've told curl
where is the ca-cert
file.
curl -vsI https://......
Just works.Even if not specified --cacert
curl -kvsI https://......
Not works. Whether specified --cacert
or not, it always says * SSL certificate verify result: unable to get local issuer certificate (20), continuing anyway.
1 Like
rg305
December 4, 2021, 12:33pm
24
Maybe order matters...
Change:
sudo curl -kvslI https://ssl.othing.xyz --cacert /etc/ssl/certs/ca-certificates.crt
to
sudo curl --cacert /etc/ssl/certs/ca-certificates.crt -kvslI https://ssl.othing.xyz
Also, my apologies for having forgotten what was posted seven days ago
1 Like
awsl
December 4, 2021, 12:36pm
26
Not working. Maybe I need to go to the manjaro forum for help
2 Likes
awsl
December 4, 2021, 12:49pm
27
Snap is ugly. What's more, I can't connect to Snap due to ISP ban, and it has no mirroring, so I can't try this method. Thanks also for your help!
2 Likes
awsl
December 4, 2021, 12:49pm
28
My ubuntu 20.04 virtual machine cannot reproduce the problem. So it seems to be a problem with manjaro
or curl
. I opened a new thread Curl SSL verify error - Software & Applications - Manjaro Linux Forum
3 Likes
awsl
December 4, 2021, 3:36pm
29
Do not use the -k
option. With -k
, no check is done and no cert store is loaded. If you want to verify a cert you can’t use -k
.
curl:master
← curl:bagder/openssl-verify-skip
opened 10:37AM - 22 Oct 21 UTC
It was previously done mostly to show a match/non-match in the verbose
output e… ven when verification was not asked for. This change skips the
loading of the CA certs unless verifypeer is set to save memory and CPU.
3 Likes
MikeMcQ
December 4, 2021, 4:10pm
30
So, was the problem that curl 7.80 now always shows this message when using -k
?
*** SSL certificate verify result: unable to get local issuer certificate (20), continuing anyway.**
Do your original commands work without -k
?
2 Likes
awsl
December 4, 2021, 4:14pm
31
There's no error without -k
.
If add -k
,even digicert.com will show the same error
issuer: C=US; O=DigiCert Inc; OU=www.digicert.com ; CN=DigiCert SHA2 Extended Validation Server CA
SSL certificate verify result: unable to get local issuer certificate (20), continuing anyway.
2 Likes
MikeMcQ
December 4, 2021, 4:24pm
32
Oh, ok. Thanks for clarifying. A poorly worded message to confirm -k
which means to skip the verify result. And, they now don't load the CA file for -k so of course no local certs would be found. Huh.
1 Like
rg305
December 4, 2021, 4:25pm
33
A very strange behavior - but who are we to dampen progress/change!
1 Like
That is curious as SNAP works on my ISP fine. Not that I used it much outside of installing some tools.
2 Likes
system
Closed
January 25, 2022, 1:13am
35
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.