-
Notifications
You must be signed in to change notification settings - Fork 83
Open
Description
Hello,
I test your program and I find core/socket.go.
The function SSL ignore certificate X509 :
func (s *SocketLayer) StartTLS() error {
config := &tls.Config{
InsecureSkipVerify: true,
MinVersion: tls.VersionTLS10,
MaxVersion: tls.VersionTLS13,
PreferServerCipherSuites: true,
}
s.tlsConn = tls.Client(s.conn, config)
return s.tlsConn.Handshake()
}
Can you Insert tls.Config global variable for using my PKI windows ?
Metadata
Metadata
Assignees
Labels
No labels