Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for globalIsTLS (0.25 sec)

  1. cmd/server-main.go

    	// Is distributed setup, error out if no certificates are found for HTTPS endpoints.
    	if globalIsDistErasure {
    		if globalEndpoints.HTTPS() && !globalIsTLS {
    			logger.Fatal(config.ErrNoCertsAndHTTPSEndpoints(nil), "Unable to start the server")
    		}
    		if !globalEndpoints.HTTPS() && globalIsTLS {
    			logger.Fatal(config.ErrCertsAndHTTPEndpoints(nil), "Unable to start the server")
    		}
    	}
    
    	// Check for updates in non-blocking manner.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 15:54:03 GMT 2024
    - 34.9K bytes
    - Viewed (1)
  2. cmd/common-main.go

    		// This will save users from providing a certificate with IP or FQDN SAN that points to the local host.
    		os.Setenv("CONSOLE_MINIO_SERVER", fmt.Sprintf("%s://127.0.0.1:%s", getURLScheme(globalIsTLS), globalMinioPort))
    	}
    	if value := env.Get(config.EnvMinIOLogQueryURL, ""); value != "" {
    		os.Setenv("CONSOLE_LOG_QUERY_URL", value)
    		if value := env.Get(config.EnvMinIOLogQueryAuthToken, ""); value != "" {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat May 04 00:17:57 GMT 2024
    - 35.8K bytes
    - Viewed (2)
  3. cmd/globals.go

    	globalAuthNPlugin *idplugin.AuthNPlugin
    
    	// CA root certificates, a nil value means system certs pool will be used
    	globalRootCAs *x509.CertPool
    
    	// IsSSL indicates if the server is configured with SSL.
    	globalIsTLS bool
    
    	globalTLSCerts *certs.Manager
    
    	globalHTTPServer        *xhttp.Server
    	globalTCPOptions        xhttp.TCPOptions
    	globalHTTPServerErrorCh = make(chan error)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Apr 24 04:08:47 GMT 2024
    - 16.5K bytes
    - Viewed (0)
  4. cmd/object-handlers_test.go

    	credentials auth.Credentials, t *testing.T,
    ) {
    	// Set SSL to on to do encryption tests
    	globalIsTLS = true
    	defer func() { globalIsTLS = false }()
    
    	var (
    		oneMiB        int64 = 1024 * 1024
    		key32Bytes          = generateBytesData(32 * humanize.Byte)
    		key32BytesMd5       = md5.Sum(key32Bytes)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 160K bytes
    - Viewed (0)
  5. cmd/admin-handlers.go

    		case <-healthCtx.Done():
    			return
    		}
    	}
    }
    
    func getTLSInfo() madmin.TLSInfo {
    	tlsInfo := madmin.TLSInfo{
    		TLSEnabled: globalIsTLS,
    		Certs:      []madmin.TLSCert{},
    	}
    
    	if globalIsTLS {
    		for _, c := range globalPublicCerts {
    			check := xxh3.Hash(c.RawIssuer)
    			check ^= xxh3.Hash(c.RawSubjectPublicKeyInfo)
    			// We XOR, so order doesn't matter.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Apr 29 17:39:04 GMT 2024
    - 97.8K bytes
    - Viewed (2)
  6. cmd/object-handlers.go

    	// and hence expected to have same credentials.
    	core, err := miniogo.NewCore(host, &miniogo.Options{
    		Creds:     credentials.NewStaticV4(cred.AccessKey, cred.SecretKey, ""),
    		Secure:    globalIsTLS,
    		Transport: getRemoteInstanceTransport(),
    	})
    	if err != nil {
    		return nil, err
    	}
    	core.SetAppInfo("minio-federated", ReleaseTag)
    	return core, nil
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu May 02 20:15:54 GMT 2024
    - 125.2K bytes
    - Viewed (0)
Back to top