x/crypto/acme: NameToCertificate is not used #22869
Labels
FrozenDueToAge
WaitingForInfo
Issue is not actionable because of missing required information, which needs to be provided.
Milestone
Please answer these questions before submitting your issue. Thanks!
What version of Go are you using (
go version
)?1.9
Does this issue reproduce with the latest release?
yes.
What operating system and processor architecture are you using (
go env
)?linux, amd64
What did you do?
I'm trying to create a server that serves encrypted traffic using ACME for certain domains and using NameToCertificate for other domains not in the ACME whitelist. In my use case I have several domain names whitelisted using acme (e.g. example.com, example1.com) and one served using NameToCertificate( *.example.com) due the fact the ACME provider(Letsencrypt) doesn't support wildcard.
What did you expect to see?
When a domain that's not whitelisted in the acme config is requested I expected tls to range over NameToCertificate and selected a certificate matching the domain (in my case a wildcard certificate *.example.com)
What did you see instead?
2017/11/24 11:11:00 http: TLS handshake error from x.x.x.x:34356: acme/autocert: host not configured
The text was updated successfully, but these errors were encountered: