- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for generateCert (1.74 sec)
-
staging/src/k8s.io/apimachinery/pkg/util/proxy/dial_test.go
if tc.ExpectError != "" { t.Errorf("%s: expected error %q, got none", k, tc.ExpectError) } }() } } // localhostCert was generated from crypto/tls/generate_cert.go with the following command: // // go run generate_cert.go --rsa-bits 2048 --host 127.0.0.1,::1,example.com --ca --start-date "Jan 1 00:00:00 1970" --duration=1000000h var localhostCert = []byte(`-----BEGIN CERTIFICATE-----
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Oct 23 22:33:38 UTC 2023 - 8.4K bytes - Viewed (0) -
tests/integration/security/ca_custom_root/main_test.go
tmpdir, err := ctx.CreateTmpDirectory("ca-custom-root") if err != nil { return err } // Create testing certs using runtime namespace. err = generateCerts(tmpdir, customNs.Get().Name()) if err != nil { return err } rootCert, err := cert.LoadCert(path.Join(tmpdir, "root-cert.pem")) if err != nil { return err }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu May 02 21:29:40 UTC 2024 - 9.2K bytes - Viewed (0) -
security/pkg/pki/util/generate_csr.go
// limitations under the License. // Provides utility methods to generate X.509 certificates with different // options. This implementation is Largely inspired from // https://golang.org/src/crypto/tls/generate_cert.go. package util import ( "crypto" "crypto/ecdsa" "crypto/elliptic" "crypto/rand" "crypto/rsa" "crypto/x509" "crypto/x509/pkix" "errors" "fmt" "os" "strings"
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Nov 06 12:48:53 UTC 2023 - 4.1K bytes - Viewed (0)