curl SSL certs #85
Closed
fbergamelli
started this conversation in
General
Replies: 1 comment
-
Hello, nevermind, I've found the solution:
update-ca-certificates |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello,
I'm trying to setup a selfhosted keygen.sh. So far I've created a docker compose file that creates :
In the test container, if I run:
# curl -I https://api.keygen.localhost/v1/ping
I get the following:
If I run
# curl -kI https://api.keygen.localhost/v1/ping
I get
HTTP/2 200 alt-svc: h3=":443"; ma=2592000 cache-control: no-store content-security-policy: default-src 'none'; report-uri /-/csp-reports; report-to csp-reports; content-type: application/vnd.api+json keygen-account-id: keygen-bearer-id: keygen-edition: CE keygen-environment: keygen-license: keygen-mode: singleplayer keygen-token-id: ......
How can I solve the SSL certs problem ? Something similar also happens running
# keygen-cli new --account 'XXXX-YYYY-ZZZZ' --product 'AAAA-BBBB-CCCC-DDDD' --token 'the-token' --channel 'stable' --version '1.0.0' --host https://api.keygen.localhost
[ERROR] Error performing request: method=POST url=https://api.keygen.localhost/v1/releases err=Post "https://api.keygen.localhost/v1/releases": tls: failed to verify certificate: x509: certificate signed by unknown authority
Thank
F.
Beta Was this translation helpful? Give feedback.
All reactions