Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for peerCertificates (0.32 sec)

  1. cmd/sts-handlers.go

    	// whether they client has sent exactly one (non-CA) leaf certificate.
    	peerCertificates := make([]*x509.Certificate, 0, len(r.TLS.PeerCertificates))
    	for _, cert := range r.TLS.PeerCertificates {
    		if cert.IsCA {
    			continue
    		}
    		peerCertificates = append(peerCertificates, cert)
    	}
    	r.TLS.PeerCertificates = peerCertificates
    
    	// Now, we have to check that the client has provided exactly one leaf
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 21:31:13 GMT 2024
    - 34.7K bytes
    - Viewed (2)
Back to top