grdp
grdp copied to clipboard
Problem of SECU certificate X509.
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 ?