Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 15 of 15 for private_key_file (0.5 sec)

  1. tests/integration/security/util/secret/secret.go

    		return fmt.Errorf(`unexpected value for the "type" annotation: expecting %v but got %v`,
    			IstioDNSSecretType, secret.Type)
    	}
    
    	for _, key := range []string{ca.CertChainFile, ca.RootCertFile, ca.PrivateKeyFile} {
    		if _, exists := secret.Data[key]; !exists {
    			return fmt.Errorf("%v does not exist in the data section", key)
    		}
    	}
    
    	verifyFields := &util.VerifyFields{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon May 22 04:04:14 UTC 2023
    - 2.3K bytes
    - Viewed (0)
  2. security/pkg/pki/ca/ca.go

    	CASecret = "istio-ca-secret"
    	// CertChainFile is the ID/name for the certificate chain file.
    	CertChainFile = "cert-chain.pem"
    	// PrivateKeyFile is the ID/name for the private key file.
    	PrivateKeyFile = "key.pem"
    	// RootCertFile is the ID/name for the CA root certificate file.
    	RootCertFile = "root-cert.pem"
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Nov 30 19:33:26 UTC 2023
    - 17.2K bytes
    - Viewed (0)
  3. security/pkg/pki/ca/ca_test.go

    	}
    	if caSecret.Data[CertChainFile] != nil {
    		t.Fatalf("Cert chain should be nil but got %v", caSecret.Data[CertChainFile])
    	}
    	if caSecret.Data[PrivateKeyFile] != nil {
    		t.Fatalf("Private key should be nil but got %v", caSecret.Data[PrivateKeyFile])
    	}
    	if !bytes.Equal(caSecret.Data[CACertFile], CertPem) {
    		t.Fatalf("CA cert does not match, want %v got %v", CertPem, caSecret.Data[CACertFile])
    	}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Oct 31 08:51:27 UTC 2023
    - 29.1K bytes
    - Viewed (0)
  4. pkg/test/echo/server/endpoint/grpc.go

    		err = uerr
    		return
    	}
    	certs := bootstrap.FileWatcherProvider()
    	if certs == nil {
    		err = fmt.Errorf("no certs found in bootstrap")
    		return
    	}
    	cert = certs.CertificateFile
    	key = certs.PrivateKeyFile
    	ca = certs.CACertificateFile
    	return
    }
    
    func (s *grpcInstance) Close() error {
    	if s.server != nil {
    		s.server.Stop()
    	}
    	if s.f != nil {
    		_ = s.f.Close()
    	}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Sep 25 17:30:37 UTC 2023
    - 8.7K bytes
    - Viewed (0)
  5. cmd/common-main.go

    				continue
    			}
    			if !file.IsDir() {
    				continue
    			}
    		}
    
    		var (
    			certFile = filepath.Join(root.Name(), file.Name(), publicCertFile)
    			keyFile  = filepath.Join(root.Name(), file.Name(), privateKeyFile)
    		)
    		if !isFile(certFile) || !isFile(keyFile) {
    			continue
    		}
    		if err = manager.AddCertificate(certFile, keyFile); err != nil {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu May 30 11:58:12 UTC 2024
    - 31.5K bytes
    - Viewed (0)
Back to top