Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for today (0.12 sec)

  1. istioctl/pkg/writer/ztunnel/configdump/certificates.go

    	if err != nil {
    		log.Errorf("certificate timestamp (%v) could not be parsed: %v", cert.ValidFrom, err)
    		return false
    	}
    	if today.After(fromDate) && today.Before(expDate) {
    		return true
    	}
    	return false
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu Apr 25 16:38:16 GMT 2024
    - 3.2K bytes
    - Viewed (0)
  2. istioctl/pkg/writer/compare/sds/util.go

    		certType = "CA"
    	} else {
    		certType = "Cert Chain"
    	}
    
    	today := time.Now()
    	return SecretMeta{
    		SerialNumber: fmt.Sprintf("%x", cert.SerialNumber),
    		NotAfter:     cert.NotAfter.Format(time.RFC3339),
    		NotBefore:    cert.NotBefore.Format(time.RFC3339),
    		Type:         certType,
    		Valid:        today.After(cert.NotBefore) && today.Before(cert.NotAfter),
    	}, nil
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Jun 06 15:14:48 GMT 2023
    - 6.6K bytes
    - Viewed (0)
Back to top