Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 251 for cpsr (0.06 sec)

  1. plugin/pkg/admission/imagepolicy/gencerts.sh

    openssl req -new -key serverKey.pem -out server.csr -subj "/CN=webhook_imagepolicy_server" -config server.conf
    openssl x509 -req -in server.csr -CA caCert.pem -CAkey caKey.pem -CAcreateserial -out serverCert.pem -days 100000 -extensions v3_req -extfile server.conf
    
    # Create a client certiticate
    openssl genrsa -out clientKey.pem 2048
    openssl req -new -key clientKey.pem -out client.csr -subj "/CN=webhook_imagepolicy_client" -config client.conf
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Oct 10 14:59:09 UTC 2019
    - 3.5K bytes
    - Viewed (0)
  2. security/pkg/monitoring/monitoring.go

    package monitoring
    
    import "istio.io/istio/pkg/monitoring"
    
    // RequestType specifies the type of request we are monitoring. Current supported are CSR and TokenExchange
    var RequestType = monitoring.CreateLabel("request_type")
    
    const (
    	TokenExchange = "token_exchange"
    	CSR           = "csr"
    )
    
    var NumOutgoingRetries = monitoring.NewSum(
    	"num_outgoing_retries",
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Jul 17 20:25:52 UTC 2023
    - 1K bytes
    - Viewed (0)
  3. pkg/apis/certificates/v1/helpers.go

    	"encoding/pem"
    	"errors"
    )
    
    // ParseCSR decodes a PEM encoded CSR
    func ParseCSR(pemBytes []byte) (*x509.CertificateRequest, error) {
    	// extract PEM from request object
    	block, _ := pem.Decode(pemBytes)
    	if block == nil || block.Type != "CERTIFICATE REQUEST" {
    		return nil, errors.New("PEM block type must be CERTIFICATE REQUEST")
    	}
    	csr, err := x509.ParseCertificateRequest(block.Bytes)
    	if err != nil {
    		return nil, err
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 05 04:47:24 UTC 2020
    - 1K bytes
    - Viewed (0)
  4. pkg/controller/certificates/certificate_controller_utils_test.go

    			},
    			false,
    		},
    	}
    
    	for _, tc := range testCases {
    		csr := &certificatesapi.CertificateSigningRequest{
    			ObjectMeta: v1.ObjectMeta{
    				Name: "fake-csr",
    			},
    			Status: certificatesapi.CertificateSigningRequestStatus{
    				Conditions: tc.conditions,
    			},
    		}
    
    		assert.Equalf(t, tc.expectedIsApproved, IsCertificateRequestApproved(csr), "Failed to test: %s", tc.name)
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 05 22:45:34 UTC 2020
    - 1.9K bytes
    - Viewed (0)
  5. pkg/apis/certificates/v1beta1/helpers.go

    	"encoding/pem"
    	"errors"
    )
    
    // ParseCSR decodes a PEM encoded CSR
    func ParseCSR(pemBytes []byte) (*x509.CertificateRequest, error) {
    	// extract PEM from request object
    	block, _ := pem.Decode(pemBytes)
    	if block == nil || block.Type != "CERTIFICATE REQUEST" {
    		return nil, errors.New("PEM block type must be CERTIFICATE REQUEST")
    	}
    	csr, err := x509.ParseCertificateRequest(block.Bytes)
    	if err != nil {
    		return nil, err
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Feb 27 10:17:55 UTC 2020
    - 1K bytes
    - Viewed (0)
  6. src/runtime/preempt_arm64.s

    	STP (R14, R15), 120(RSP)
    	STP (R16, R17), 136(RSP)
    	STP (R19, R20), 152(RSP)
    	STP (R21, R22), 168(RSP)
    	STP (R23, R24), 184(RSP)
    	STP (R25, R26), 200(RSP)
    	MOVD NZCV, R0
    	MOVD R0, 216(RSP)
    	MOVD FPSR, R0
    	MOVD R0, 224(RSP)
    	FSTPD (F0, F1), 232(RSP)
    	FSTPD (F2, F3), 248(RSP)
    	FSTPD (F4, F5), 264(RSP)
    	FSTPD (F6, F7), 280(RSP)
    	FSTPD (F8, F9), 296(RSP)
    	FSTPD (F10, F11), 312(RSP)
    	FSTPD (F12, F13), 328(RSP)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 03 01:58:56 UTC 2022
    - 2K bytes
    - Viewed (0)
  7. security/pkg/pki/ra/common.go

    const (
    	// ExtCAK8s : Integrate with external CA using k8s CSR API
    	ExtCAK8s CaExternalType = "ISTIOD_RA_KUBERNETES_API"
    
    	// DefaultExtCACertDir : Location of external CA certificate
    	DefaultExtCACertDir string = "./etc/external-ca-cert"
    )
    
    // ValidateCSR : Validate all SAN extensions in csrPEM match authenticated identities
    func ValidateCSR(csrPEM []byte, subjectIDs []string) bool {
    	csr, err := util.ParsePemEncodedCSR(csrPEM)
    	if err != nil {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Sep 11 19:57:30 UTC 2023
    - 4.4K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apiserver/pkg/admission/plugin/webhook/testcerts/gencerts.sh

    openssl req -new -key ServerKey.pem -out server.csr -subj "/CN=webhook-test.default.svc" -config server.conf
    openssl x509 -req -in server.csr -CA CACert.pem -CAkey CAKey.pem -CAcreateserial -out ServerCert.pem -days 100000 -extensions v3_req -extfile server.conf
    
    # Create a client certiticate
    openssl genrsa -out ClientKey.pem 2048
    openssl req -new -key ClientKey.pem -out client.csr -subj "/CN=${CN_BASE}_client" -config client.conf
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jan 24 05:55:09 UTC 2019
    - 3.5K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apiserver/plugin/pkg/authorizer/webhook/gencerts.sh

    openssl req -new -key serverKey.pem -out server.csr -subj "/CN=webhook_authz_server" -config server.conf
    openssl x509 -req -in server.csr -CA caCert.pem -CAkey caKey.pem -CAcreateserial -out serverCert.pem -days 100000 -extensions v3_req -extfile server.conf
    
    # Create a client certiticate
    openssl genrsa -out clientKey.pem 2048
    openssl req -new -key clientKey.pem -out client.csr -subj "/CN=webhook_authz_client" -config client.conf
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Feb 23 02:28:04 UTC 2019
    - 3.4K bytes
    - Viewed (0)
  10. pkg/apis/certificates/v1beta1/defaults.go

    	csr, err := ParseCSR(obj.Request)
    	switch {
    	case err != nil:
    		// Set the signerName to 'legacy-unknown' as the CSR could not be
    		// recognised.
    		return certificatesv1beta1.LegacyUnknownSignerName
    	case IsKubeletClientCSR(csr, obj.Usages):
    		return certificatesv1beta1.KubeAPIServerClientKubeletSignerName
    	case IsKubeletServingCSR(csr, obj.Usages):
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jan 18 15:37:57 UTC 2023
    - 2.7K bytes
    - Viewed (0)
Back to top