Skip to content
This repository has been archived by the owner on Jun 1, 2019. It is now read-only.

letsencrypt: fix clearing of hosts list #24

Closed
wants to merge 1 commit into from

Conversation

felixbuenemann
Copy link

This fixes a problem where all connections are refused with the "unknown hosts" error if Manager.SetHosts is called with nil or an empty list.

This fix is required to be able to clear a hosts list that was loaded from the cache file.

This fixes a problem where all connections are refused with the
"unknown hosts" error if Manager.SetHosts is called with nil or
an empty list. This fix is required to be able to clear a hosts
list that was loaded from the cache file.
@rsc
Copy link
Owner

rsc commented Dec 19, 2017

Quoting the godoc:

In the long term you should be using https://golang.org/x/crypto/acme/autocert instead of this package. Send improvements there, not here.

Please use autocert instead of this package. This package is frozen. Thanks.

@rsc rsc closed this Dec 19, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants