Golang self-signed certificate

The simplest way to create a self-signed certificate with Go:

or ecdsa 10 years duration

or ed25519 10 years duration