- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 1,041 for certv1 (0.2 sec)
-
pilot/pkg/trustbundle/trustbundle_test.go
func TestIsEqSpliceStr(t *testing.T) { testCases := []struct { certs1 []string certs2 []string expSame bool }{ { certs1: []string{"a", "b"}, certs2: []string{}, expSame: false, }, { certs1: []string{"a", "b"}, certs2: []string{"b"}, expSame: false, }, { certs1: []string{"a", "b"}, certs2: []string{"a", "b"}, expSame: true, }, }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu May 23 21:07:03 UTC 2024 - 13.1K bytes - Viewed (0) -
src/crypto/tls/cache_test.go
p, _ := pem.Decode([]byte(rsaCertPEM)) if p == nil { t.Fatal("Failed to decode certificate") } certA, err := cc.newCert(p.Bytes) if err != nil { t.Fatalf("newCert failed: %s", err) } certB, err := cc.newCert(p.Bytes) if err != nil { t.Fatalf("newCert failed: %s", err) } if certA.cert != certB.cert { t.Fatal("newCert returned a unique reference for a duplicate certificate") }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Nov 07 19:46:27 UTC 2022 - 2.6K bytes - Viewed (0) -
pilot/pkg/config/kube/gateway/testdata/reference-policy-tls.yaml.golden
spec: servers: - hosts: - cert/cert1.domain.example port: name: default number: 443 protocol: HTTPS tls: credentialName: kubernetes-gateway://cert/cert mode: SIMPLE --- apiVersion: networking.istio.io/v1alpha3 kind: VirtualService metadata: annotations: internal.istio.io/parents: HTTPRoute/http.cert internal.istio.io/route-semantics: gateway
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Dec 11 20:21:53 UTC 2023 - 1.1K bytes - Viewed (0) -
internal/http/server_test.go
"net/http" "reflect" "testing" "github.com/minio/pkg/v3/certs" ) func TestNewServer(t *testing.T) { nonLoopBackIP := getNonLoopBackIP(t) handler := http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) { fmt.Fprintf(w, "Hello, world") }) testCases := []struct { addrs []string handler http.Handler certFn certs.GetCertificateFunc }{ {[]string{"127.0.0.1:9000"}, handler, nil},
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Fri May 24 23:05:23 UTC 2024 - 2.7K bytes - Viewed (0) -
pkg/kube/inject/testdata/inject/hello-mount-mtls-certs.yaml.injected
name: workload-certs - mountPath: /var/run/secrets/istio name: istiod-ca-cert - mountPath: /var/lib/istio/data name: istio-data - mountPath: /etc/istio/proxy name: istio-envoy - mountPath: /var/run/secrets/tokens name: istio-token - mountPath: /etc/certs/ name: istio-certs readOnly: true
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Feb 27 16:55:16 UTC 2024 - 6.8K bytes - Viewed (0) -
cmd/kubeadm/app/util/config/cluster.go
cert := certs[0] // gets the node name from the certificate common name return strings.TrimPrefix(cert.Subject.CommonName, constants.NodesUserPrefix), nil } func getAPIEndpoint(client clientset.Interface, nodeName string, apiEndpoint *kubeadmapi.APIEndpoint) error { return getAPIEndpointWithRetry(client, nodeName, apiEndpoint,
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Mar 01 11:04:08 UTC 2024 - 11K bytes - Viewed (0) -
pkg/test/cert/cert.go
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. package cert import ( "fmt" "os/exec" ) // GenerateKey and writes output to keyFile. func GenerateKey(keyFile string) error { return openssl("genrsa", "-out", keyFile, "1024") }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Mar 22 14:18:21 UTC 2023 - 1.8K bytes - Viewed (0) -
tests/integration/security/egress_gateway_origination_test.go
PrivateKey: file.AsStringOrFail(t, path.Join(env.IstioSrc, "tests/testdata/certs/dns/key.pem")), CaCert: file.AsStringOrFail(t, path.Join(env.IstioSrc, "tests/testdata/certs/dns/root-cert.pem")), Crl: file.AsStringOrFail(t, path.Join(env.IstioSrc, "tests/testdata/certs/ca.crl")), }, false) // Configured with dummy CRL
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Apr 08 22:02:59 UTC 2024 - 15.4K bytes - Viewed (0) -
tests/integration/security/sds_ingress/util/util.go
}, } if callType == Mtls { opts.TLS.Key = tlsCtx.PrivateKey opts.TLS.Cert = tlsCtx.Cert } // Certs occasionally take quite a while to become active in Envoy, so retry for a long time (2min) ing.CallOrFail(ctx, opts) } // RotateSecrets deletes kubernetes secrets by name in credNames and creates same secrets using key/cert // from ingressCred.
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Jul 25 05:12:36 UTC 2023 - 20.2K bytes - Viewed (0) -
security/pkg/pki/util/crypto_test.go
certBytes := []byte(certECDSA) certBytes = AppendCertByte(certBytes, []byte(certRSA)) result := PemCertBytestoString(certBytes) cert1 := strings.TrimSuffix(strings.TrimPrefix(certECDSA, "\n"), "\n") cert2 := strings.TrimSuffix(strings.TrimPrefix(certRSA, "\n"), "\n") if !reflect.DeepEqual(result, []string{cert1, cert2}) { t.Errorf("Basic comparison fails!") } // check only first string passed if second is bogus
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Jun 04 13:00:07 UTC 2024 - 14.6K bytes - Viewed (0)