* TLS: don't print certificate data
This commit is contained in:
parent
67a3d44b8c
commit
76c9e61199
|
@ -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