You are not logged in.
I have a docker image that was spun up and is serving an api using a self-signed cert. I have that cert file.
When I curl that api, I must ignore verification. So I have added that cert to:
/etc/ca-certificates/trust-source/anchors
and run
trust extract-compat
This cert now shows in:
trust list
I don't know much on this topic, but should this now be treated as verified? I have done these things based on this news post and this bbs post. What am I doing wrong?
Offline
What is the actual problem you are running into?
Offline
I cannot curl without ignoring validation. I want it to be treated as valid.
Offline
Check if your connection works with
openssl s_client
to see if you've got a certificate or curls problem
Offline
The certificate given by the server in this case is correct, but I get:
Verify return code: 21 (unable to verify the first certificate)
Offline