Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for rootCertPem (0.25 sec)

  1. security/pkg/server/ca/server.go

    	}
    	rootCertExpiryTimestamp.Record(rootCertExpiry)
    
    	rootCertPem, err := util.ParsePemEncodedCertificate(keyCertBundle.GetRootCertPem())
    	if err != nil {
    		serverCaLog.Errorf("failed to parse the root cert: %v", err)
    	}
    	rootCertExpirySeconds.ValueFrom(func() float64 { return time.Until(rootCertPem.NotAfter).Seconds() })
    
    	if len(keyCertBundle.GetCertChainPem()) == 0 {
    		return
    	}
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 28 17:35:26 UTC 2024
    - 8K bytes
    - Viewed (0)
  2. security/pkg/nodeagent/cache/secretcache.go

    	if len(trustBundlePEM) > 0 {
    		rootCertPEM = concatCerts(trustBundlePEM)
    	} else {
    		// If CA Client has no explicit mechanism to retrieve CA root, infer it from the root of the certChain
    		rootCertPEM = []byte(certChainPEM[len(certChainPEM)-1])
    	}
    
    	return &security.SecretItem{
    		CertificateChain: certChain,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Mar 04 08:29:46 UTC 2024
    - 28.2K bytes
    - Viewed (0)
Back to top