Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 46 for pki (0.05 sec)

  1. cmd/kubeadm/app/apis/kubeadm/v1beta4/doc.go

    //	    - "10.100.0.1"
    //	  # external:
    //	    # endpoints:
    //	    # - "10.100.0.1:2379"
    //	    # - "10.100.0.2:2379"
    //	    # caFile: "/etcd/kubernetes/pki/etcd/etcd-ca.crt"
    //	    # certFile: "/etcd/kubernetes/pki/etcd/etcd.crt"
    //	    # keyFile: "/etcd/kubernetes/pki/etcd/etcd.key"
    //	networking:
    //	  serviceSubnet: "10.96.0.0/16"
    //	  podSubnet: "10.244.0.0/24"
    //	  dnsDomain: "cluster.local"
    //	kubernetesVersion: "v1.21.0"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 01 16:01:49 UTC 2024
    - 12.8K bytes
    - Viewed (0)
  2. security/pkg/nodeagent/test/mock/caserver.go

    	"google.golang.org/grpc/status"
    
    	pb "istio.io/api/security/v1alpha1"
    	"istio.io/istio/pkg/log"
    	"istio.io/istio/pkg/security"
    	caerror "istio.io/istio/security/pkg/pki/error"
    	"istio.io/istio/security/pkg/pki/util"
    )
    
    var caServerLog = log.RegisterScope("ca", "CA service debugging")
    
    // CAServer is a mock CA server.
    type CAServer struct {
    	pb.UnimplementedIstioCertificateServiceServer
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 21:07:03 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  3. 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)
  4. security/pkg/nodeagent/caclient/providers/mock/mockcaclient.go

    // limitations under the License.
    
    package mock
    
    import (
    	"encoding/pem"
    	"fmt"
    	"path"
    	"sync/atomic"
    	"time"
    
    	"istio.io/istio/security/pkg/pki/util"
    )
    
    var (
    	sampleKeyCertsPath = "../../../../samples/certs/"
    	caCertPath         = path.Join(sampleKeyCertsPath, "ca-cert.pem")
    	caKeyPath          = path.Join(sampleKeyCertsPath, "ca-key.pem")
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 16 22:12:28 UTC 2024
    - 3K bytes
    - Viewed (0)
  5. 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)
  6. cmd/kubeadm/app/cmd/kubeconfig_test.go

    	return cfgPath, err
    }
    
    func TestKubeConfigSubCommandsThatWritesToOut(t *testing.T) {
    
    	// Temporary folders for the test case
    	tmpdir := testutil.SetupTempDir(t)
    	defer os.RemoveAll(tmpdir)
    
    	// Adds a pki folder with a ca cert to the temp folder
    	pkidir := testutil.SetupPkiDirWithCertificateAuthority(t, tmpdir)
    
    	// Retrieves ca cert for assertions
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 01 16:01:49 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  7. 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)
  8. 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)
  9. 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)
  10. tests/integration/ambient/cacert_rotation_test.go

    	"istio.io/istio/pkg/test/framework/components/namespace"
    	kubetest "istio.io/istio/pkg/test/kube"
    	"istio.io/istio/pkg/test/util/assert"
    	"istio.io/istio/pkg/test/util/retry"
    	"istio.io/istio/security/pkg/pki/util"
    	"istio.io/istio/tests/integration/security/util/cert"
    )
    
    func TestIntermediateCertificateRefresh(t *testing.T) {
    	framework.NewTest(t).
    		Run(func(t framework.TestContext) {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 16 03:28:36 UTC 2024
    - 6.1K bytes
    - Viewed (0)
Back to top