Documentation
¶
Index ¶
- func GenerateCACertificate(caCertFile, caKeyFile string) error
- func GenerateCertificateWithExpiry(certFile, keyFile string, expiry time.Duration) error
- func GenerateClientCertificate(clientCertFile, clientKeyFile, caCertFile, caKeyFile string) error
- func GenerateTestCertificate(certFile, keyFile string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GenerateCACertificate ¶
GenerateCACertificate generates a CA certificate for testing client authentication
func GenerateCertificateWithExpiry ¶
GenerateCertificateWithExpiry generates a test certificate with a specific expiry time
func GenerateClientCertificate ¶
GenerateClientCertificate generates a client certificate signed by the CA
func GenerateTestCertificate ¶
GenerateTestCertificate generates a self-signed test certificate and private key
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.