Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 62 for cert (0.16 sec)

  1. internal/config/certs.go

    // to decrypt the TLS private key. It must be set if the TLS private key is
    // password protected.
    const EnvCertPassword = "MINIO_CERT_PASSWD"
    
    // ParsePublicCertFile - parses public cert into its *x509.Certificate equivalent.
    func ParsePublicCertFile(certFile string) (x509Certs []*x509.Certificate, err error) {
    	// Read certificate file.
    	var data []byte
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Sep 04 19:57:37 GMT 2023
    - 3.8K bytes
    - Viewed (0)
  2. internal/event/target/nats_tls_contrib_test.go

    			IsPortSet: true,
    		},
    		Subject:       "test",
    		Secure:        true,
    		CertAuthority: path.Join("testdata", "contrib", "certs", "root_ca_cert.pem"),
    		ClientCert:    path.Join("testdata", "contrib", "certs", "nats_client_cert.pem"),
    		ClientKey:     path.Join("testdata", "contrib", "certs", "nats_client_key.pem"),
    	}
    
    	con, err := clientConfig.connectNats()
    	if err != nil {
    		t.Errorf("Could not connect to nats: %v", err)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Sep 04 19:57:37 GMT 2023
    - 2.1K bytes
    - Viewed (0)
  3. istioctl/pkg/writer/ztunnel/configdump/certificates.go

    	}
    	return value
    }
    
    func certNotExpired(cert *Cert) bool {
    	// case where cert state is in either Initializing or Unavailable state
    	if cert.ExpirationTime == "" && cert.ValidFrom == "" {
    		return false
    	}
    	today := time.Now()
    	expDate, err := time.Parse(time.RFC3339, cert.ExpirationTime)
    	if err != nil {
    		log.Errorf("certificate timestamp (%v) could not be parsed: %v", cert.ExpirationTime, err)
    		return false
    	}
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu Apr 25 16:38:16 GMT 2024
    - 3.2K bytes
    - Viewed (0)
  4. docs/iam/access-manager-plugin.go

    	"io"
    	"log"
    	"net/http"
    	"strings"
    )
    
    var (
    	keyFile  string
    	certFile string
    )
    
    func init() {
    	flag.StringVar(&keyFile, "key-file", "", "Path to TLS cert key file")
    	flag.StringVar(&certFile, "cert-file", "", "Path to TLS cert file")
    }
    
    func writeErrorResponse(w http.ResponseWriter, err error) {
    	w.WriteHeader(http.StatusBadRequest)
    	json.NewEncoder(w).Encode(map[string]string{
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 08 17:15:20 GMT 2024
    - 2.7K bytes
    - Viewed (0)
  5. istioctl/pkg/clioptions/central.go

    	cmd.PersistentFlags().StringVar(&o.Xds, "xds-address", viper.GetString("XDS-ADDRESS"),
    		"XDS Endpoint")
    	cmd.PersistentFlags().StringVar(&o.CertDir, "cert-dir", viper.GetString("CERT-DIR"),
    		"XDS Endpoint certificate directory")
    	cmd.PersistentFlags().StringVar(&o.XdsPodLabel, "xds-label", "",
    		"Istiod pod label selector")
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Mon Jun 06 03:39:27 GMT 2022
    - 3.2K bytes
    - Viewed (0)
  6. istioctl/pkg/internaldebug/internal-debug.go

      # Retrieve syncz debug information directly from the control plane, using RSA certificate security
      # (Certificates must be obtained before this step.  The --cert-dir flag lets istioctl bypass the Kubernetes API server.)
      istioctl x internal-debug syncz --xds-address istio.example.com:15012 --cert-dir ~/.istio-certs
    
      # Retrieve syncz information via XDS from specific control plane in multi-control plane in-cluster configuration
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Mar 15 04:16:55 GMT 2024
    - 6.9K bytes
    - Viewed (0)
  7. istioctl/pkg/workload/workload_test.go

    				}, metav1.CreateOptions{})
    				client.Kube().CoreV1().ConfigMaps("bar").Create(context.Background(), &v1.ConfigMap{
    					ObjectMeta: metav1.ObjectMeta{Namespace: "bar", Name: "istio-ca-root-cert"},
    					Data:       map[string]string{"root-cert.pem": string(fakeCACert)},
    				}, metav1.CreateOptions{})
    				client.Kube().CoreV1().ConfigMaps("istio-system").Create(context.Background(), &v1.ConfigMap{
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed Mar 27 16:59:05 GMT 2024
    - 14.6K bytes
    - Viewed (0)
  8. internal/config/etcd/help.go

    			Type:        "path",
    		},
    		config.HelpKV{
    			Key:         ClientCert,
    			Description: `client cert for mTLS authentication` + defaultHelpPostfix(ClientCert),
    			Optional:    true,
    			Type:        "path",
    			Sensitive:   true,
    		},
    		config.HelpKV{
    			Key:         ClientCertKey,
    			Description: `client cert key for mTLS authentication` + defaultHelpPostfix(ClientCertKey),
    			Optional:    true,
    			Type:        "path",
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Apr 27 03:11:37 GMT 2022
    - 2.1K bytes
    - Viewed (0)
  9. cni/pkg/install/kubeconfig_test.go

    	cfg := &config.InstallConfig{
    		MountedCNINetDir: tempDir,
    		KubeCAFile:       kubeCAFilepath,
    		K8sServiceHost:   k8sServiceHost,
    		K8sServicePort:   k8sServicePort,
    	}
    	// Write out a kubeconfig with one cert
    	result, err := createKubeConfig(cfg)
    	if err != nil {
    		t.Fatalf("did not expect failure: %v", err)
    	}
    	goldenFilepath := "testdata/kubeconfig-tls"
    	testutils.CompareContent(t, []byte(result.Full), goldenFilepath)
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu Feb 08 03:52:24 GMT 2024
    - 5.1K bytes
    - Viewed (0)
  10. internal/config/etcd/etcd.go

    	CoreDNSPath   = "coredns_path"
    	ClientCert    = "client_cert"
    	ClientCertKey = "client_cert_key"
    
    	EnvEtcdEndpoints     = "MINIO_ETCD_ENDPOINTS"
    	EnvEtcdPathPrefix    = "MINIO_ETCD_PATH_PREFIX"
    	EnvEtcdCoreDNSPath   = "MINIO_ETCD_COREDNS_PATH"
    	EnvEtcdClientCert    = "MINIO_ETCD_CLIENT_CERT"
    	EnvEtcdClientCertKey = "MINIO_ETCD_CLIENT_CERT_KEY"
    )
    
    // DefaultKVS - default KV settings for etcd.
    var (
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Sep 04 19:57:37 GMT 2023
    - 4.8K bytes
    - Viewed (0)
Back to top