Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for ErrTLSWrongPassword (0.07 sec)

  1. internal/config/certs.go

    		if len(password) == 0 {
    			return tls.Certificate{}, ErrTLSNoPassword(nil)
    		}
    		decryptedKey, decErr := x509.DecryptPEMBlock(key, []byte(password))
    		if decErr != nil {
    			return tls.Certificate{}, ErrTLSWrongPassword(decErr)
    		}
    		keyPEMBlock = pem.EncodeToMemory(&pem.Block{Type: key.Type, Bytes: decryptedKey})
    	}
    	cert, err := tls.X509KeyPair(certPEMBlock, keyPEMBlock)
    	if err != nil {
    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

    		"HTTP specified in endpoints, but the server in the local machine is configured with a TLS certificate",
    		"Please remove the certificate in the configuration directory or switch to HTTPS",
    		"",
    	)
    
    	ErrTLSWrongPassword = newErrFn(
    		"Unable to decrypt the private key using the provided password",
    		"Please set the correct password in environment variable `MINIO_CERT_PASSWD`",
    		"",
    	)
    
    	ErrUnexpectedError = 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