Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 37 for pki (0.22 sec)

  1. cmd/kubeadm/app/phases/etcd/local_test.go

    					External: &kubeadmapi.ExternalEtcd{
    						Endpoints: []string{
    							"https://etcd-instance:2379",
    						},
    						CAFile:   "/etc/kubernetes/pki/etcd/ca.crt",
    						CertFile: "/etc/kubernetes/pki/etcd/apiserver-etcd-client.crt",
    						KeyFile:  "/etc/kubernetes/pki/etcd/apiserver-etcd-client.key",
    					},
    				},
    			},
    			expectedError: true,
    		},
    	}
    
    	for _, test := range tests {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Apr 23 14:07:27 UTC 2024
    - 15.2K bytes
    - Viewed (0)
  2. cmd/kubeadm/app/cmd/certs.go

    	be based on the existing file/certificates, there is no need to resupply them.
    
    	Renewal by default tries to use the certificate authority in the local PKI managed by kubeadm; as alternative
    	it is possible to use K8s certificate API for certificate renewal, or as a last option, to generate a CSR request.
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 01 16:01:49 UTC 2024
    - 19.4K bytes
    - Viewed (0)
  3. pkg/security/security.go

    	certFiles := []string{
    		"/etc/ssl/certs/ca-certificates.crt",                // Debian/Ubuntu/Gentoo etc.
    		"/etc/pki/tls/certs/ca-bundle.crt",                  // Fedora/RHEL 6
    		"/etc/ssl/ca-bundle.pem",                            // OpenSUSE
    		"/etc/pki/tls/cacert.pem",                           // OpenELEC
    		"/etc/pki/ca-trust/extracted/pem/tls-ca-bundle.pem", // CentOS/RHEL 7
    		"/etc/ssl/cert.pem",                                 // Alpine Linux
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 17:48:28 UTC 2024
    - 19.1K bytes
    - Viewed (0)
  4. cmd/kubeadm/app/phases/certs/renewal/manager_test.go

    	tests := []struct {
    		name                 string
    		certName             string
    		createCertFunc       func() *x509.Certificate
    		expectedOrganization []string
    	}{
    		{
    			name:     "Certificate renewal for a PKI certificate",
    			certName: "apiserver",
    			createCertFunc: func() *x509.Certificate {
    				return writeTestCertificate(t, dir, "apiserver", testCACert, testCAKey, testCertOrganization, notBefore, notAfter)
    			},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 01 16:01:49 UTC 2024
    - 13.9K bytes
    - Viewed (0)
  5. cmd/kubeadm/app/phases/kubeconfig/kubeconfig_test.go

    	}
    }
    
    func TestGetKubeConfigSpecs(t *testing.T) {
    	// Create temp folder for the test case
    	tmpdir := testutil.SetupTempDir(t)
    	defer os.RemoveAll(tmpdir)
    
    	// Adds a pki folder with a ca certs to the temp folder
    	pkidir := testutil.SetupPkiDirWithCertificateAuthority(t, tmpdir)
    
    	// Creates InitConfigurations pointing to the pkidir folder
    	cfgs := []*kubeadmapi.InitConfiguration{
    		{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 07 17:04:18 UTC 2024
    - 39.5K bytes
    - Viewed (0)
  6. cmd/kubeadm/app/componentconfigs/fakeconfig_test.go

    		yaml string
    		obj  kubeadmapiv1.ClusterConfiguration
    	}{
    		yaml: dedent.Dedent(fmt.Sprintf(`
    			apiServer:
    			  timeoutForControlPlane: 4m
    			apiVersion: %s
    			certificatesDir: /etc/kubernetes/pki
    			clusterName: LeCluster
    			controllerManager: {}
    			etcd:
    			  local:
    			    dataDir: /var/lib/etcd
    			imageRepository: registry.k8s.io
    			kind: ClusterConfiguration
    			kubernetesVersion: 1.2.3
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 04 15:36:00 UTC 2024
    - 16.3K bytes
    - Viewed (0)
  7. security/pkg/pki/ca/ca.go

    	corev1 "k8s.io/client-go/kubernetes/typed/core/v1"
    
    	"istio.io/istio/pkg/backoff"
    	"istio.io/istio/pkg/log"
    	"istio.io/istio/security/pkg/cmd"
    	caerror "istio.io/istio/security/pkg/pki/error"
    	"istio.io/istio/security/pkg/pki/util"
    	certutil "istio.io/istio/security/pkg/util"
    )
    
    const (
    	// istioCASecretType is the Istio secret annotation type.
    	istioCASecretType = "istio.io/ca-root"
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Nov 30 19:33:26 UTC 2023
    - 17.2K bytes
    - Viewed (0)
  8. cmd/kubeadm/app/phases/certs/certs_test.go

    		externalCAFunc func(*kubeadmapi.ClusterConfiguration) (bool, error)
    		expected       bool
    		expectedErr    bool
    	}{
    		{
    			name: "Test External CA, when complete PKI exists",
    			setupFuncs: []func(cfg *kubeadmapi.InitConfiguration) error{
    				CreatePKIAssets,
    			},
    			externalCAFunc: UsingExternalCA,
    			expected:       false,
    		},
    		{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jan 31 21:49:21 UTC 2024
    - 23.3K bytes
    - Viewed (0)
  9. security/pkg/pki/ca/selfsignedcarootcertrotator.go

    	"fmt"
    	"math/rand"
    	"time"
    
    	v1 "k8s.io/api/core/v1"
    	corev1 "k8s.io/client-go/kubernetes/typed/core/v1"
    
    	"istio.io/istio/pkg/log"
    	"istio.io/istio/security/pkg/k8s/controller"
    	"istio.io/istio/security/pkg/pki/util"
    	certutil "istio.io/istio/security/pkg/util"
    )
    
    var rootCertRotatorLog = log.RegisterScope("rootcertrotator", "Self-signed CA root cert rotator log")
    
    type SelfSignedCARootCertRotatorConfig struct {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Nov 30 19:33:26 UTC 2023
    - 10.4K bytes
    - Viewed (0)
  10. pilot/pkg/bootstrap/istio_ca.go

    	"istio.io/istio/pkg/config/constants"
    	"istio.io/istio/pkg/env"
    	"istio.io/istio/pkg/log"
    	"istio.io/istio/pkg/security"
    	"istio.io/istio/security/pkg/cmd"
    	"istio.io/istio/security/pkg/pki/ca"
    	"istio.io/istio/security/pkg/pki/ra"
    	caserver "istio.io/istio/security/pkg/server/ca"
    	"istio.io/istio/security/pkg/server/ca/authenticate"
    	"istio.io/istio/security/pkg/util"
    )
    
    type caOptions struct {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 17:48:28 UTC 2024
    - 20.6K bytes
    - Viewed (0)
Back to top