Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for generateCertificate (0.07 sec)

  1. internal/kms/config.go

    		}
    		if s := env.Get(EnvKESAPIKey, ""); s != "" {
    			key, err := kes.ParseAPIKey(s)
    			if err != nil {
    				return nil, err
    			}
    
    			cert, err := kes.GenerateCertificate(key)
    			if err != nil {
    				return nil, err
    			}
    			conf.GetClientCertificate = func(*tls.CertificateRequestInfo) (*tls.Certificate, error) { return &cert, nil }
    		} else {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 15 11:46:39 UTC 2024
    - 14.2K bytes
    - Viewed (0)
Back to top