Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for LoadCertificateAuthority (0.16 sec)

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

    	}
    
    	caCert, caKey, err := LoadCertificateAuthority(cfg.CertificatesDir, caCertSpec.BaseName)
    	if err != nil {
    		return errors.Wrapf(err, "couldn't load CA certificate %s", caCertSpec.Name)
    	}
    
    	return certSpec.CreateFromCA(cfg, caCert, caKey)
    }
    
    // LoadCertificateAuthority tries to load a CA in the given directory with the given name.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Dec 05 10:17:14 UTC 2023
    - 19.4K bytes
    - Viewed (0)
  2. 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