- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for generateTLSCertKey (0.15 sec)
-
cmd/test-utils_test.go
muxRouter.Use(globalMiddlewares...) return muxRouter } // generateTLSCertKey creates valid key/cert with registered DNS or IP address // depending on the passed parameter. That way, we can use tls config without // passing InsecureSkipVerify flag. This code is a simplified version of // https://golang.org/src/crypto/tls/generate_cert.go func generateTLSCertKey(host string) ([]byte, []byte, error) { validFor := 365 * 24 * time.Hour
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Oct 01 22:13:18 UTC 2024 - 77K bytes - Viewed (0)