Open Archie1978 opened 9 months ago
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 ?
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 ?