Golang module to generate a self-signed X.509 certificate
Modified version of:
https://go.dev/src/crypto/tls/generate_cert.go
import `github.com/mbrostami/gcert`
Then call Generate function:
err := gcert.Generate("abc.com", "./", opts...)
gcert.WithStartDategcert.WithDurationgcert.WithCAgcert.WithRSABitsgcert.WithP224gcert.WithP256gcert.WithP384gcert.WithP521gcert.WithED25519