Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for LoadCertificateAuthority (0.66 sec)

  1. cmd/kubeadm/app/phases/certs/renewal/manager.go

    	if rm.cfg.CertificateValidityPeriod != nil {
    		cfg.NotAfter = startTime.Add(rm.cfg.CertificateValidityPeriod.Duration)
    	}
    
    	// reads the CA
    	caCert, caKey, err := certsphase.LoadCertificateAuthority(rm.cfg.CertificatesDir, handler.CABaseName)
    	if err != nil {
    		return false, err
    	}
    
    	// create a new certificate with the same config
    	newCert, newKey, err := NewFileRenewer(caCert, caKey).Renew(cfg)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 01 16:01:49 UTC 2024
    - 15K bytes
    - Viewed (0)
Back to top