diff options
Diffstat (limited to 'core/https/handshake.go')
-rw-r--r-- | core/https/handshake.go | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/core/https/handshake.go b/core/https/handshake.go index 4c1fc22c3..1334b9ff4 100644 --- a/core/https/handshake.go +++ b/core/https/handshake.go @@ -76,11 +76,7 @@ func getCertDuringHandshake(name string, loadIfNecessary, obtainIfNecessary bool return Certificate{}, err } - // Name has to qualify for a certificate - if !HostQualifies(name) { - return cert, errors.New("hostname '" + name + "' does not qualify for certificate") - } - + // TODO(miek): deleted, tls will be enabled when a keyword is specified. // Obtain certificate from the CA return obtainOnDemandCertificate(name) } |