Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 1 of 1 for KeyUsages (0.04 seconds)

  1. cmd/sts-handlers.go

    	certificate := r.TLS.PeerCertificates[0]
    	if !globalIAMSys.STSTLSConfig.InsecureSkipVerify { // Verify whether the client certificate has been issued by a trusted CA.
    		_, err := certificate.Verify(x509.VerifyOptions{
    			KeyUsages: []x509.ExtKeyUsage{
    				x509.ExtKeyUsageClientAuth,
    			},
    			Intermediates: intermediates,
    			Roots:         globalRootCAs,
    		})
    		if err != nil {
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 36.6K bytes
    - Click Count (0)
Back to Top