mirror of
https://github.com/AdguardTeam/AdGuardHome.git
synced 2024-11-17 02:48:28 -07:00
Merge: * TLS: don't print certificate data
Close #1107 * commit '76c9e61199a70ec1455a630ab896698b4435751c': * TLS: don't print certificate data
This commit is contained in:
commit
ffffd74a6e
@ -156,7 +156,7 @@ func handleTLSConfigure(w http.ResponseWriter, r *http.Request) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func verifyCertChain(data *tlsConfigStatus, certChain string, serverName string) error {
|
func verifyCertChain(data *tlsConfigStatus, certChain string, serverName string) error {
|
||||||
log.Tracef("got certificate: %s", certChain)
|
log.Tracef("TLS: got certificate: %d bytes", len(certChain))
|
||||||
|
|
||||||
// now do a more extended validation
|
// now do a more extended validation
|
||||||
var certs []*pem.Block // PEM-encoded certificates
|
var certs []*pem.Block // PEM-encoded certificates
|
||||||
|
Loading…
Reference in New Issue
Block a user