Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 37 for pki (0.06 sec)

  1. security/pkg/k8s/chiron/utils_test.go

    	"istio.io/istio/pkg/kube"
    	"istio.io/istio/pkg/log"
    	"istio.io/istio/pkg/test"
    	csrctrl "istio.io/istio/pkg/test/csrctrl/controllers"
    	"istio.io/istio/pkg/test/util/assert"
    	pkiutil "istio.io/istio/security/pkg/pki/util"
    )
    
    const (
    	// exampleCACert copied from samples/certs/ca-cert.pem
    	exampleCACert = `-----BEGIN CERTIFICATE-----
    MIIDnzCCAoegAwIBAgIJAON1ifrBZ2/BMA0GCSqGSIb3DQEBCwUAMIGLMQswCQYD
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 15 03:58:11 UTC 2024
    - 13K bytes
    - Viewed (0)
  2. pilot/pkg/bootstrap/certcontroller.go

    	tb "istio.io/istio/pilot/pkg/trustbundle"
    	"istio.io/istio/pkg/config/constants"
    	"istio.io/istio/pkg/log"
    	"istio.io/istio/pkg/sleep"
    	"istio.io/istio/security/pkg/k8s/chiron"
    	"istio.io/istio/security/pkg/pki/ca"
    	certutil "istio.io/istio/security/pkg/util"
    )
    
    const (
    	// defaultCertGracePeriodRatio is the default length of certificate rotation grace period,
    	// configured as the ratio of the certificate TTL.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 17:48:28 UTC 2024
    - 11.3K bytes
    - Viewed (0)
  3. security/pkg/pki/ca/ca_test.go

    	"reflect"
    	"sync"
    	"testing"
    	"time"
    
    	v1 "k8s.io/api/core/v1"
    	metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
    	"k8s.io/client-go/kubernetes/fake"
    
    	caerror "istio.io/istio/security/pkg/pki/error"
    	"istio.io/istio/security/pkg/pki/util"
    )
    
    var (
    	cert1Pem = `
    -----BEGIN CERTIFICATE-----
    MIIC3jCCAcagAwIBAgIJAMwyWk0iqlOoMA0GCSqGSIb3DQEBCwUAMBwxGjAYBgNV
    BAoMEWs4cy5jbHVzdGVyLmxvY2FsMB4XDTE4MDkyMTAyMjAzNFoXDTI4MDkxODAy
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Oct 31 08:51:27 UTC 2023
    - 29.1K bytes
    - Viewed (0)
  4. security/pkg/pki/ca/selfsignedcarootcertrotator_test.go

    	metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
    	"k8s.io/apimachinery/pkg/runtime"
    	"k8s.io/client-go/kubernetes/fake"
    	ktesting "k8s.io/client-go/testing"
    
    	"istio.io/istio/security/pkg/cmd"
    	"istio.io/istio/security/pkg/pki/util"
    	certutil "istio.io/istio/security/pkg/util"
    )
    
    const caNamespace = "default"
    
    // TestJitterConfiguration tests the setup of jitter
    func TestJitterConfiguration(t *testing.T) {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Oct 11 23:33:41 UTC 2023
    - 14.1K bytes
    - Viewed (0)
  5. cmd/kubeadm/app/util/config/common_test.go

    			oldCfg: dedent.Dedent(fmt.Sprintf(`
    			apiVersion: %s
    			kind: ResetConfiguration
    			force: true
    			cleanupTmpDir: true
    			criSocket: unix:///var/run/containerd/containerd.sock
    			certificatesDir: /etc/kubernetes/pki
    			`, gvExperimental)),
    			expectedKinds: []string{
    				constants.ResetConfigurationKind,
    			},
    			allowExperimental: true,
    			expectErr:         false,
    		},
    		{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Feb 29 05:14:21 UTC 2024
    - 23.4K bytes
    - Viewed (0)
  6. pilot/pkg/bootstrap/server_test.go

    	"istio.io/istio/pkg/kube"
    	"istio.io/istio/pkg/test"
    	"istio.io/istio/pkg/test/util/assert"
    	"istio.io/istio/pkg/test/util/retry"
    	"istio.io/istio/pkg/testcerts"
    	"istio.io/istio/security/pkg/pki/util"
    )
    
    func loadCertFilesAtPaths(t TLSFSLoadPaths) error {
    	// create cert directories if not existing
    	if err := os.MkdirAll(filepath.Dir(t.testTLSCertFilePath), os.ModePerm); err != nil {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 17:48:28 UTC 2024
    - 23.1K bytes
    - Viewed (0)
  7. cmd/kubeadm/app/apis/kubeadm/v1beta3/types.go

    	// CACertPath is the path to the SSL certificate authority used to
    	// secure comunications between node and control-plane.
    	// Defaults to "/etc/kubernetes/pki/ca.crt".
    	// +optional
    	CACertPath string `json:"caCertPath,omitempty"`
    
    	// Discovery specifies the options for the kubelet to use during the TLS Bootstrap process
    	Discovery Discovery `json:"discovery"`
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 11 10:21:20 UTC 2024
    - 19.6K bytes
    - Viewed (0)
  8. pilot/pkg/bootstrap/server.go

    	"istio.io/istio/pkg/log"
    	"istio.io/istio/pkg/network"
    	"istio.io/istio/pkg/security"
    	"istio.io/istio/pkg/spiffe"
    	"istio.io/istio/pkg/util/sets"
    	"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/server/ca/authenticate/kubeauth"
    )
    
    const (
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 17:48:28 UTC 2024
    - 46.3K bytes
    - Viewed (0)
  9. security/pkg/nodeagent/cache/secretcache_test.go

    	"istio.io/istio/pkg/test/util/retry"
    	"istio.io/istio/pkg/testcerts"
    	"istio.io/istio/security/pkg/nodeagent/caclient/providers/mock"
    	"istio.io/istio/security/pkg/nodeagent/cafile"
    	pkiutil "istio.io/istio/security/pkg/pki/util"
    )
    
    func TestWorkloadAgentGenerateSecret(t *testing.T) {
    	fakeCACli, err := mock.NewMockCAClient(time.Hour, true)
    	var got, want []byte
    	if err != nil {
    		t.Fatalf("Error creating Mock CA client: %v", err)
    	}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 16 22:12:28 UTC 2024
    - 23.9K bytes
    - Viewed (0)
  10. pkg/istio-agent/xds_proxy.go

    	"istio.io/istio/pkg/network"
    	"istio.io/istio/pkg/uds"
    	"istio.io/istio/pkg/util/protomarshal"
    	"istio.io/istio/pkg/wasm"
    	"istio.io/istio/security/pkg/nodeagent/caclient"
    	"istio.io/istio/security/pkg/pki/util"
    )
    
    const (
    	defaultClientMaxReceiveMessageSize = math.MaxInt32
    )
    
    type (
    	DiscoveryStream      = discovery.AggregatedDiscoveryService_StreamAggregatedResourcesServer
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 16 22:12:28 UTC 2024
    - 27.9K bytes
    - Viewed (0)
Back to top