- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 21 for certPem (0.16 sec)
-
security/pkg/nodeagent/test/mock/caserver.go
// CAServer is a mock CA server. type CAServer struct { pb.UnimplementedIstioCertificateServiceServer URL string GRPCServer *grpc.Server Authenticators []security.Authenticator certPem []byte keyPem []byte KeyCertBundle *util.KeyCertBundle certLifetime time.Duration rejectCSR bool emptyCert bool faultInjectLock *sync.Mutex }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu May 23 21:07:03 UTC 2024 - 5.9K bytes - Viewed (0) -
pilot/pkg/bootstrap/certcontroller.go
approveCsr bool, requestedLifetime time.Duration, ) { certUtil := certutil.NewCertUtil(int(defaultCertGracePeriodRatio * 100)) for { waitTime, _ := certUtil.GetWaitTime(s.istiodCertBundleWatcher.GetKeyCertBundle().CertPem, time.Now()) if !sleep.Until(stop, waitTime) { return } certChain, keyPEM, _, err := chiron.GenKeyCertK8sCA(s.kubeClient.Kube(),
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Jun 13 17:48:28 UTC 2024 - 11.3K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/server/options/serving_test.go
if _, err := os.Stat(keyFileName); err == nil { return nil } } certPem, keyPem, err := generateSelfSignedCertKey(spec.host, parseIPList(spec.ips), spec.names) if err != nil { return err } os.MkdirAll(filepath.Dir(certFileName), os.FileMode(0755)) err = ioutil.WriteFile(certFileName, certPem, os.FileMode(0755)) if err != nil { return err }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu May 09 15:52:39 UTC 2024 - 13.8K bytes - Viewed (0) -
src/crypto/tls/tls_test.go
Subject: pkix.Name{CommonName: "test"}, } certDER, err := x509.CreateCertificate(rand.Reader, tmpl, tmpl, key.Public(), key) if err != nil { t.Fatal(err) } certPEM := pem.EncodeToMemory(&pem.Block{Type: "CERTIFICATE", Bytes: certDER}) t.Run("x509keypairleaf=0", func(t *testing.T) { t.Setenv("GODEBUG", "x509keypairleaf=0") cert, err := X509KeyPair(certPEM, keyPEM) if err != nil { t.Fatal(err)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 03:10:12 UTC 2024 - 60.5K bytes - Viewed (0) -
pkg/istio-agent/agent_test.go
MinVersion: tls.VersionTLS12, })) } func setupDiscovery(t *testing.T, auth *security.FakeAuthenticator, certPem []byte, bootstrapGenerator model.XdsResourceGenerator) string { t.Helper() l, err := net.Listen("tcp", "localhost:0") if err != nil { t.Fatal(err) } opt := tlsOptions(t, certPem) // Set up a simple service to make sure we have mTLS requested
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu May 16 22:12:28 UTC 2024 - 33.4K bytes - Viewed (0) -
pilot/pkg/bootstrap/server_test.go
var certRotated bool var rotatedCertBytes []byte err := retry.Until(func() bool { rotatedCertBytes = s.istiodCertBundleWatcher.GetKeyCertBundle().CertPem st := string(rotatedCertBytes) certRotated = st != string(tt.certToWatch) return certRotated == tt.certRotated }, retry.Timeout(10*time.Second)) close(stop) if err != nil {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Jun 13 17:48:28 UTC 2024 - 23.1K bytes - Viewed (0) -
src/crypto/x509/x509_test.go
f5C0D5ur7nk/ee3FM5VGrSe/WbCeSPC31xBH0Wc= -----END CERTIFICATE-----` func TestSigAlgMismatch(t *testing.T) { for _, certPEM := range []string{mismatchingSigAlgIDPEM, mismatchingSigAlgParamPEM} { b, _ := pem.Decode([]byte(certPEM)) if b == nil { t.Fatalf("couldn't decode test certificate") } _, err := ParseCertificate(b.Bytes) if err == nil {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 21:00:16 UTC 2024 - 163.4K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/server/options/serving.go
PermitAddressSharing bool } type CertKey struct { // CertFile is a file containing a PEM-encoded certificate, and possibly the complete certificate chain CertFile string // KeyFile is a file containing a PEM-encoded private key for the certificate specified by CertFile KeyFile string } type GeneratableKeyCert struct { // CertKey allows setting an explicit cert/key file to use. CertKey CertKey
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat Apr 27 13:08:18 UTC 2024 - 15.9K bytes - Viewed (0) -
docs/site-replication/run-replication-with-checksum-header.sh
aws_access_key_id = minio aws_secret_access_key = minio123 EOF # Create certificates for TLS enabled MinIO echo -n "Setup certs for MinIO instances ..." wget -O certgen https://github.com/minio/certgen/releases/latest/download/certgen-linux-amd64 && chmod +x certgen ./certgen --host localhost mkdir -p /tmp/certs mv public.crt /tmp/certs || sudo mv public.crt /tmp/certs mv private.key /tmp/certs || sudo mv private.key /tmp/certs echo "done"
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Sat Jun 08 16:24:15 UTC 2024 - 6.9K bytes - Viewed (0) -
docs/site-replication/run-ssec-object-replication-with-compression.sh
TEST_MINIO_ENC_KEY="MDEyMzQ1Njc4OTAxMjM0NTY3ODkwMTIzNDU2Nzg5MDA" # Create certificates for TLS enabled MinIO echo -n "Setup certs for MinIO instances ..." wget -O certgen https://github.com/minio/certgen/releases/latest/download/certgen-linux-amd64 && chmod +x certgen ./certgen --host localhost mkdir -p /tmp/certs mv public.crt /tmp/certs || sudo mv public.crt /tmp/certs mv private.key /tmp/certs || sudo mv private.key /tmp/certs echo "done"
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Mon Jun 10 15:31:51 UTC 2024 - 8.2K bytes - Viewed (0)