Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for getPublicCertFile (0.2 sec)

  1. cmd/config-dir.go

    		if osIsPermission(err) {
    			err = nil
    		}
    	}
    	return err
    }
    
    func getConfigFile() string {
    	return filepath.Join(globalConfigDir.Get(), minioConfigFile)
    }
    
    func getPublicCertFile() string {
    	return filepath.Join(globalCertsDir.Get(), publicCertFile)
    }
    
    func getPrivateKeyFile() string {
    	return filepath.Join(globalCertsDir.Get(), privateKeyFile)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Jan 02 17:15:06 UTC 2022
    - 3K bytes
    - Viewed (0)
  2. cmd/common-main.go

    	if !(isFile(getPublicCertFile()) && isFile(getPrivateKeyFile())) {
    		return nil, nil, false, nil
    	}
    
    	if x509Certs, err = config.ParsePublicCertFile(getPublicCertFile()); err != nil {
    		return nil, nil, false, err
    	}
    
    	manager, err = certs.NewManager(GlobalContext, getPublicCertFile(), getPrivateKeyFile(), config.LoadX509KeyPair)
    	if err != nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Sep 24 21:50:11 UTC 2024
    - 31.7K bytes
    - Viewed (0)
  3. cmd/ftp-server.go

    	// we automatically make FTP also run under TLS mode.
    	if globalIsTLS && tlsPrivateKey == "" && tlsPublicCert == "" {
    		tlsPrivateKey = getPrivateKeyFile()
    		tlsPublicCert = getPublicCertFile()
    	}
    
    	tls := tlsPrivateKey != "" && tlsPublicCert != ""
    
    	name := "MinIO FTP Server"
    	if tls {
    		name = "MinIO FTP(Secure) Server"
    	}
    
    	ftpServer, err := ftp.NewServer(&ftp.Options{
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Mar 09 03:07:08 UTC 2024
    - 4.8K bytes
    - Viewed (0)
Back to top