Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for validateSignedCertWithCA (0.24 sec)

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

    	}
    	// Validate period
    	CheckCertificatePeriodValidity(l.uxName, caCert)
    
    	return validateSignedCertWithCA(l, caCert)
    }
    
    // validateSignedCertWithCA tries to load a certificate and private key and
    // validates that the cert is signed by the given caCert
    func validateSignedCertWithCA(l certKeyLocation, caCert *x509.Certificate) error {
    	// Try to load key from the PKI directory
    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/certlist.go

    				for _, leaf := range leaves {
    					cl := certKeyLocation{
    						pkiDir:   ic.CertificatesDir,
    						baseName: leaf.BaseName,
    						uxName:   leaf.Name,
    					}
    					if err := validateSignedCertWithCA(cl, caCert); err != nil {
    						return errors.Wrapf(err, "could not load expected certificate %q or validate the existence of key %q for it", leaf.Name, ca.Name)
    					}
    				}
    				continue
    			}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 01 16:01:49 UTC 2024
    - 15.8K bytes
    - Viewed (0)
Back to top