Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix "acme/autocert: missing certificate" #34

Merged
merged 1 commit into from
Sep 3, 2024
Merged

Fix "acme/autocert: missing certificate" #34

merged 1 commit into from
Sep 3, 2024

Conversation

syntrust
Copy link
Collaborator

@syntrust syntrust commented Sep 2, 2024

Issue to address
Error happens when trying to access https://0xb10fe009b82ed3319b4721b84e9ef64d5c5b52c9.11155111.web3gateway.dev

http: TLS handshake error from 103.121.208.149:57655: acme/autocert: missing certificate

It seems Autocert cannot get the certificate of the CA server when trying to create a new certificate.

Caused by

Privete key was not passed to tls.X509KeyPair

Changes made

Load private key from KeyFile defined in config.

Tests

https://0xb10fe009b82ed3319b4721b84e9ef64d5c5b52c9.11155111.web3gateway.dev works, as well as other link examples.

@syntrust syntrust requested review from qzhodl and iteyelmp September 2, 2024 11:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants