/ go Public
x/crypto/acme/autocert: Error http: TLS handshake error from <ip>:<port>: Head "": unsupported protocol scheme "" trying to connect to letsencrypt's pebble #39284
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
What version of Go are you using (
Does this issue reproduce with the latest release?
Yes. It happens with: go version go1.14.3 linux/amd64
What operating system and processor architecture are you using (
What did you do?
I added "example.org" to /etc/hosts pointing to the docker container's ip address.
I moved pebble test certificate to /etc/ssl/certs/ca-certificates.crt
I started pebble with:
PEBBLE_VA_ALWAYS_VALID=1 ./pebble -strict
I started a https server in the same container running this code:
I issued a call using wget to https://example.org
What did you expect to see?
A 404 - page not found error
What did you see instead?
--2020-05-27 21:30:28-- https://example.org/
Resolving example.org (example.org)... 172.17.0.4
Connecting to example.org (example.org)|172.17.0.4|:443... connected.
GnuTLS: A TLS fatal alert has been received.
GnuTLS: received alert : Internal error
Unable to establish SSL connection.
https server log (stderr):
2020/05/27 21:30:28 http: TLS handshake error from 172.17.0.4:53518: Head "": unsupported protocol scheme ""
Pebble 2020/05/27 21:30:28 GET /dir -> calling handler()
Pebble 2020/05/27 21:30:28 HEAD /dir -> calling handler()
The text was updated successfully, but these errors were encountered: