Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for RootCertPath (0.21 sec)

  1. security/pkg/nodeagent/caclient/providers/mock/mockcaclient.go

    	caCertPath         = path.Join(sampleKeyCertsPath, "ca-cert.pem")
    	caKeyPath          = path.Join(sampleKeyCertsPath, "ca-key.pem")
    	certChainPath      = []string{path.Join(sampleKeyCertsPath, "cert-chain.pem")}
    	rootCertPath       = path.Join(sampleKeyCertsPath, "root-cert.pem")
    )
    
    // CAClient is the mocked CAClient for testing.
    type CAClient struct {
    	SignInvokeCount uint64
    	bundle          *util.KeyCertBundle
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 16 22:12:28 UTC 2024
    - 3K bytes
    - Viewed (0)
  2. tests/integration/security/filebased_tls_origination/egress_gateway_origination_test.go

      host: "external-service.{{.AppNamespace}}.svc.cluster.local"
      trafficPolicy:
        portLevelSettings:
          - port:
              number: 443
            tls:
              mode: {{.Mode}}
              caCertificates: {{.RootCertPath}}
              sni: external-service.{{.AppNamespace}}.svc.cluster.local
    
    `
    	// Destination Rule configs
    	DestinationRuleConfigDisabledOrIstioMutual = `
    apiVersion: networking.istio.io/v1alpha3
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 08 22:02:59 UTC 2024
    - 11.9K bytes
    - Viewed (0)
  3. src/crypto/x509/platform_test.go

    // "Certificates" snap-in of mmc.exe.
    
    const (
    	rootCertPath = "platform_root_cert.pem"
    	rootKeyPath  = "platform_root_key.pem"
    )
    
    func TestPlatformVerifier(t *testing.T) {
    	if runtime.GOOS != "windows" && runtime.GOOS != "darwin" {
    		t.Skip("only tested on windows and darwin")
    	}
    
    	der, err := os.ReadFile(rootCertPath)
    	if err != nil {
    		t.Fatalf("failed to read test root: %s", err)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Feb 20 17:18:29 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  4. security/pkg/nodeagent/cache/secretcache.go

    	}
    	b, err = os.ReadFile(keyPath)
    	if err != nil || len(b) == 0 {
    		return false
    	}
    
    	return true
    }
    
    // Generate a root certificate item from the passed in rootCertPath
    func (sc *SecretManagerClient) generateRootCertFromExistingFile(rootCertPath, resourceName string, workload bool) (*security.SecretItem, error) {
    	var rootCert []byte
    	var err error
    	o := backoff.DefaultOption()
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Mar 04 08:29:46 UTC 2024
    - 28.2K bytes
    - Viewed (0)
  5. security/pkg/nodeagent/cache/secretcache_test.go

    	totalTimeout = time.Millisecond * 1
    	defer func() {
    		totalTimeout = originalTimeout
    	}()
    
    	u := NewUpdateTracker(t)
    	sc := createCache(t, nil, u.Callback, security.Options{})
    	rootCertPath, _ := filepath.Abs("./testdata/root-cert-bogus.pem")
    	keyPath, _ := filepath.Abs("./testdata/key-bogus.pem")
    	certChainPath, _ := filepath.Abs("./testdata/cert-chain-bogus.pem")
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 16 22:12:28 UTC 2024
    - 23.9K bytes
    - Viewed (0)
Back to top