Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for ErrTLSReadError (0.33 sec)

  1. internal/config/certs.go

    	certPEMBlock, err := os.ReadFile(certFile)
    	if err != nil {
    		return tls.Certificate{}, ErrTLSReadError(nil).Msg("Unable to read the public key: %s", err)
    	}
    	keyPEMBlock, err := os.ReadFile(keyFile)
    	if err != nil {
    		return tls.Certificate{}, ErrTLSReadError(nil).Msg("Unable to read the private key: %s", err)
    	}
    	key, rest := pem.Decode(keyPEMBlock)
    	if len(rest) > 0 {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Sep 04 19:57:37 GMT 2023
    - 3.8K bytes
    - Viewed (0)
  2. internal/config/errors.go

    		"Unable to use specified port",
    		"Please ensure MinIO binary has 'cap_net_bind_service=+ep' permissions",
    		`Use 'sudo setcap cap_net_bind_service=+ep /path/to/minio' to provide sufficient permissions`,
    	)
    
    	ErrTLSReadError = newErrFn(
    		"Cannot read the TLS certificate",
    		"Please check if the certificate has the proper owner and read permissions",
    		"",
    	)
    
    	ErrTLSUnexpectedData = newErrFn(
    		"Invalid TLS certificate",
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Mar 18 22:25:32 GMT 2024
    - 9.1K bytes
    - Viewed (0)
Back to top