Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for OutputKeyCertToDir (0.29 sec)

  1. security/pkg/nodeagent/util/util.go

    	if err != nil {
    		return time.Time{}, fmt.Errorf("failed to parse certificate: %v", err)
    	}
    	return cert.NotAfter, nil
    }
    
    // OutputKeyCertToDir output the key and certificate to the given directory.
    // If directory string is empty, return nil.
    func OutputKeyCertToDir(dir string, privateKey, certChain, rootCert []byte) error {
    	var err error
    	if len(dir) == 0 {
    		return nil
    	}
    
    	certFileMode := os.FileMode(0o600)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Oct 17 10:33:38 UTC 2023
    - 2.9K bytes
    - Viewed (0)
  2. pilot/cmd/pilot-agent/options/security.go

    	o := &security.Options{
    		CAEndpoint:                     caEndpointEnv,
    		CAProviderName:                 caProviderEnv,
    		PilotCertProvider:              features.PilotCertProvider,
    		OutputKeyCertToDir:             outputKeyCertToDir,
    		ProvCert:                       provCert,
    		ClusterID:                      clusterIDVar.Get(),
    		FileMountedCerts:               fileMountedCertsEnv,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 16 22:12:28 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  3. pilot/cmd/pilot-agent/options/options.go

    	// set to "SYSTEM" for ACME/public signed CA servers.
    	caRootCA = env.Register("CA_ROOT_CA", "",
    		"Explicitly set the root CA to expect for the CA connection.").Get()
    
    	outputKeyCertToDir = env.Register("OUTPUT_CERTS", "",
    		"The output directory for the key and certificate. If empty, key and certificate will not be saved. "+
    			"Must be set for VMs using provisioning certificates.").Get()
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Jan 09 19:21:50 UTC 2024
    - 8.1K bytes
    - Viewed (0)
Back to top