Produce self-signed X509 certificate