Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. 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)
  2. security/pkg/pki/ca/ca_test.go

    	}
    
    	if !signingCertFromSecret.Equal(signingCert) {
    		t.Error("CA signing cert does not match the K8s secret")
    	}
    }
    
    func TestCreateSelfSignedIstioCAWithSecret(t *testing.T) {
    	rootCertPem := cert1Pem
    	// Use the same signing cert and root cert for self-signed CA.
    	signingCertPem := []byte(cert1Pem)
    	signingKeyPem := []byte(key1Pem)
    
    	client := fake.NewSimpleClientset()
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Oct 31 08:51:27 UTC 2023
    - 29.1K bytes
    - Viewed (0)
Back to top