Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for ErrTLSNoPassword (0.06 sec)

  1. internal/config/certs.go

    	}
    	if x509.IsEncryptedPEMBlock(key) {
    		password := env.Get(EnvCertPassword, "")
    		if len(password) == 0 {
    			return tls.Certificate{}, ErrTLSNoPassword(nil)
    		}
    		decryptedKey, decErr := x509.DecryptPEMBlock(key, []byte(password))
    		if decErr != nil {
    			return tls.Certificate{}, ErrTLSWrongPassword(decErr)
    		}
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Wed Aug 14 17:11:51 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  2. internal/config/errors.go

    		"",
    	)
    
    	ErrTLSUnexpectedData = newErrFn(
    		"Invalid TLS certificate",
    		"Please check your certificate",
    		"",
    	)
    
    	ErrTLSNoPassword = newErrFn(
    		"Missing TLS password",
    		"Please set the password to environment variable `MINIO_CERT_PASSWD` so that the private key can be decrypted",
    		"",
    	)
    
    	ErrNoCertsAndHTTPSEndpoints = newErrFn(
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Tue Aug 12 18:20:36 UTC 2025
    - 9.4K bytes
    - Viewed (0)
Back to top