Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 97 for not_after (0.12 sec)

  1. pkg/kubeapiserver/options/testdata/client.config.json

                        "client auth"
                    ]
                },
                "expired": {
                    "expiry": "1h",
                    "not_before": "1990-12-31T23:59:00Z",
                    "not_after": "1990-12-31T23:59:00Z",
                    "usages": [
                        "signing",
                        "key encipherment",
                        "client auth"
                    ]
                }
            }
        }
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Oct 01 13:50:20 UTC 2019
    - 613 bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiserver/pkg/authentication/request/x509/testdata/client.config.json

                        "client auth"
                    ]
                },
                "expired": {
                    "expiry": "1h",
                    "not_before": "1990-12-31T23:59:00Z",
                    "not_after": "1990-12-31T23:59:00Z",
                    "usages": [
                        "signing",
                        "key encipherment",
                        "client auth"
                    ]
                }
            }
        }
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jan 11 20:06:38 UTC 2017
    - 613 bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiserver/pkg/server/options/testdata/client.config.json

                        "client auth"
                    ]
                },
                "expired": {
                    "expiry": "1h",
                    "not_before": "1990-12-31T23:59:00Z",
                    "not_after": "1990-12-31T23:59:00Z",
                    "usages": [
                        "signing",
                        "key encipherment",
                        "client auth"
                    ]
                }
            }
        }
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Oct 01 13:50:20 UTC 2019
    - 613 bytes
    - Viewed (0)
  4. istioctl/pkg/writer/compare/sds/util.go

    	}
    
    	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
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Jun 06 15:14:48 UTC 2023
    - 6.6K bytes
    - Viewed (0)
  5. pkg/test/csrctrl/authority/authority.go

    		ExtraExtensions:    cr.ExtraExtensions,
    		NotBefore:          nbf,
    	}
    	if err := policy.apply(tmpl); err != nil {
    		return nil, err
    	}
    
    	if !tmpl.NotAfter.Before(ca.Certificate.NotAfter) {
    		tmpl.NotAfter = ca.Certificate.NotAfter
    	}
    	if !now.Before(ca.Certificate.NotAfter) {
    		return nil, fmt.Errorf("refusing to sign a certificate that expired in the past")
    	}
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jul 28 18:22:37 UTC 2021
    - 3K bytes
    - Viewed (0)
  6. pkg/controller/certificates/authority/authority_test.go

    				NotBefore:             now,
    				NotAfter:              now.Add(1 * time.Hour),
    				BasicConstraintsValid: true,
    			},
    		},
    		{
    			name:   "key usage",
    			policy: PermissiveSigningPolicy{TTL: time.Hour, Usages: []capi.KeyUsage{"signing"}, Now: nowFunc},
    			want: x509.Certificate{
    				NotBefore:             now,
    				NotAfter:              now.Add(1 * time.Hour),
    				BasicConstraintsValid: true,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 23 19:36:11 UTC 2021
    - 7.3K bytes
    - Viewed (0)
  7. pkg/controller/certificates/authority/policies.go

    //   - It sets NotBefore and NotAfter:
    //     All certificates set NotBefore = Now() - Backdate.
    //     Long-lived certificates set NotAfter = Now() + TTL - Backdate.
    //     Short-lived certificates set NotAfter = Now() + TTL.
    //     All certificates truncate NotAfter to the expiration date of the signer.
    type PermissiveSigningPolicy struct {
    	// TTL is used in certificate NotAfter calculation as described above.
    	TTL time.Duration
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jul 26 17:14:05 UTC 2022
    - 5.7K bytes
    - Viewed (0)
  8. cmd/kubeadm/app/phases/certs/renewal/manager_test.go

    				t.Fatal("expected new certificate, but renewed certificate has same serial number")
    			}
    
    			if !newCert.NotAfter.After(cert.NotAfter) {
    				t.Fatalf("expected new certificate with updated expiration, but renewed certificate has same NotAfter value: saw %s, expected greather than %s", newCert.NotAfter, cert.NotAfter)
    			}
    
    			certtestutil.AssertCertificateIsSignedByCa(t, newCert, testCACert)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 01 16:01:49 UTC 2024
    - 13.9K bytes
    - Viewed (0)
  9. istioctl/pkg/writer/compare/sds/writer_test.go

    					Name:        "olinger",
    					Data:        "certdata",
    					Source:      "source",
    					Destination: "destination",
    					SecretMeta: SecretMeta{
    						Valid:        true,
    						SerialNumber: "serial_number",
    						NotAfter:     "expires",
    						NotBefore:    "valid",
    						Type:         "type",
    					},
    				},
    			},
    			expected: append(
    				[]string{"olinger", "serial_number", "expires", "valid", "type"},
    				secretItemColumns...),
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 29 20:42:01 UTC 2020
    - 4.9K bytes
    - Viewed (0)
  10. src/crypto/x509/platform_test.go

    				NotBefore:    now.Add(-time.Hour),
    				NotAfter:     now.Add(time.Hour),
    				ExtKeyUsage:  []ExtKeyUsage{ExtKeyUsageServerAuth},
    			},
    		},
    		{
    			name: "valid (with name)",
    			cert: &Certificate{
    				SerialNumber: big.NewInt(1),
    				DNSNames:     []string{"valid.testing.golang.invalid"},
    				NotBefore:    now.Add(-time.Hour),
    				NotAfter:     now.Add(time.Hour),
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Feb 20 17:18:29 UTC 2024
    - 7.2K bytes
    - Viewed (0)
Back to top