Fix hosts not being added to known hosts file
This commit is contained in:
@@ -37,7 +37,7 @@ func init() {
|
||||
return nil
|
||||
} else if userTrustsCertificatePermanently() {
|
||||
// Add the certificate to the known hosts file
|
||||
knownHosts.Add(cert)
|
||||
knownHosts.Add(req.Hostname(), cert)
|
||||
return nil
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user