Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 72 for certs (0.02 seconds)

  1. internal/config/certs.go

    // ParsePublicCertFile - parses public cert into its *x509.Certificate equivalent.
    func ParsePublicCertFile(certFile string) (x509Certs []*x509.Certificate, err error) {
    	// Read certificate file.
    	var data []byte
    	if data, err = os.ReadFile(certFile); err != nil {
    		return nil, err
    	}
    
    	// Trimming leading and tailing white spaces.
    	data = bytes.TrimSpace(data)
    
    	// Parse all certs in the chain.
    	current := data
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Wed Aug 14 17:11:51 GMT 2024
    - 3.8K bytes
    - Click Count (0)
  2. helm/minio/templates/post-job.yaml

                  mountPath: /tmp
                - name: minio-configuration
                  mountPath: /config
                {{- if .Values.tls.enabled }}
                - name: cert-secret-volume-mc
                  mountPath: {{ .Values.configPathmc }}certs
                {{- end }}
              resources: {{- toYaml .Values.makePolicyJob.resources | nindent 12 }}
          {{- end }}
          containers:
            {{- if .Values.buckets }}
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Thu Oct 10 15:48:31 GMT 2024
    - 10.4K bytes
    - Click Count (0)
  3. docs/tls/README.md

    Copy the existing private key and public certificate to the `certs` directory. The default certs directory is:
    
    * **Linux:** `${HOME}/.minio/certs`
    * **Windows:** `%%USERPROFILE%%\.minio\certs`
    
    **Note:**
    
    * Location of custom certs directory can be specified using `--certs-dir` command line option.
    * Inside the `certs` directory, the private key must by named `private.key` and the public key must be named `public.crt`.
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Tue Aug 12 18:20:36 GMT 2025
    - 8.6K bytes
    - Click Count (0)
  4. 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)
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Tue Apr 22 22:12:26 GMT 2025
    - 2.7K bytes
    - Click Count (0)
  5. docs/site-replication/run-ssec-object-replication.sh

    # 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"
    
    # Start MinIO instances
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Tue Sep 24 08:03:58 GMT 2024
    - 9.9K bytes
    - Click Count (0)
  6. cmd/common-main.go

    		ctxt.ConfigDir = ctx.GlobalString("config-dir")
    		ctxt.configDirSet = true
    	}
    
    	switch {
    	case ctx.IsSet("certs-dir"):
    		ctxt.CertsDir = ctx.String("certs-dir")
    		ctxt.certsDirSet = true
    	case ctx.GlobalIsSet("certs-dir"):
    		ctxt.CertsDir = ctx.GlobalString("certs-dir")
    		ctxt.certsDirSet = true
    	}
    
    	memAvailable := availableMemory()
    	if ctx.IsSet("memlimit") || ctx.GlobalIsSet("memlimit") {
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 32.5K bytes
    - Click Count (3)
  7. internal/kms/config.go

    			}
    
    			certificate, err := certs.NewCertificate(env.Get(EnvKESClientCert, ""), env.Get(EnvKESClientKey, ""), loadX509KeyPair)
    			if err != nil {
    				return nil, err
    			}
    			certificate.Watch(ctx, 15*time.Minute, syscall.SIGHUP)
    
    			conf.GetClientCertificate = func(*tls.CertificateRequestInfo) (*tls.Certificate, error) {
    				cert := certificate.Get()
    				return &cert, nil
    			}
    		}
    
    		var caDir string
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 15K bytes
    - Click Count (0)
  8. internal/config/certs_test.go

    	}
    
    	for _, testCase := range testCases {
    		certs, err := ParsePublicCertFile(testCase.certFile)
    		if !testCase.expectedErr && err != nil {
    			t.Fatalf("error: expected = <nil>, got = %v", err)
    		}
    		if testCase.expectedErr && err == nil {
    			t.Fatal("error: expected err, got = <nil>")
    		}
    		if len(certs) != testCase.expectedResultLen {
    			t.Fatalf("certs: expected = %v, got = %v", testCase.expectedResultLen, len(certs))
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Tue Feb 18 16:25:55 GMT 2025
    - 21.6K bytes
    - Click Count (0)
  9. docs/tls/kubernetes/README.md

              mountPath: /<user-running-minio>/.minio/certs
    ```
    
    Here the name of `volumeMount` should match the name of `volume` created previously. Also `mountPath` must be set to the path of
    the MinIO server's config sub-directory that is used to store certificates. By default, the location is
    `/<user-running-minio>/.minio/certs`.
    
    *Tip*: In a standard Kubernetes configuration, this will be `/root/.minio/certs`. Kubernetes will mount the secrets volume read-only,
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Tue Aug 12 18:20:36 GMT 2025
    - 3K bytes
    - Click Count (0)
  10. docs/site-replication/run-sse-kms-object-replication.sh

    # 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"
    
    # Start MinIO instances
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Thu Oct 10 06:49:55 GMT 2024
    - 11.5K bytes
    - Click Count (0)
Back to Top