Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for NewCertUtil (0.12 sec)

  1. security/pkg/pki/ca/selfsignedcarootcertrotator_test.go

    	// a copy of root cert from config map for verification.
    	certItem0 := loadCert(rotator)
    
    	// Change grace period percentage to 0, so that root cert is not going to expire soon.
    	rotator.config.certInspector = certutil.NewCertUtil(0)
    	rotator.checkAndRotateRootCert()
    	// Verifies that when root cert remaining life is not in grace period time,
    	// root cert is not rotated.
    	certItem1 := loadCert(rotator)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Oct 11 23:33:41 UTC 2023
    - 14.1K bytes
    - Viewed (0)
  2. pilot/pkg/bootstrap/certcontroller.go

    	}
    }
    
    func (s *Server) RotateDNSCertForK8sCA(stop <-chan struct{},
    	defaultCACertPath string,
    	signerName string,
    	approveCsr bool,
    	requestedLifetime time.Duration,
    ) {
    	certUtil := certutil.NewCertUtil(int(defaultCertGracePeriodRatio * 100))
    	for {
    		waitTime, _ := certUtil.GetWaitTime(s.istiodCertBundleWatcher.GetKeyCertBundle().CertPem, time.Now())
    		if !sleep.Until(stop, waitTime) {
    			return
    		}
    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.go

    			CheckInterval:      rootCertCheckInverval,
    			caCertTTL:          caCertTTL,
    			retryInterval:      cmd.ReadSigningCertRetryInterval,
    			retryMax:           cmd.ReadSigningCertRetryMax,
    			certInspector:      certutil.NewCertUtil(rootCertGracePeriodPercentile),
    			caStorageNamespace: namespace,
    			dualUse:            dualUse,
    			org:                org,
    			rootCertFile:       rootCertFile,
    			enableJitter:       enableJitter,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Nov 30 19:33:26 UTC 2023
    - 17.2K bytes
    - Viewed (0)
Back to top