OpenSSL: How to generate a self-signed certificate and key with Elliptic Curves

The use of Elliptic Curves for cryptography is becoming more widely used in today’s internet. Basically, it allows for the same type of security as good old RSA, but with greater speed due to the smaller key sizes it uses compared to an RSA key. You can also generate a key based on the newer cryptography standard through OpenSSL like you would with an RSA key. Here’s how you can do it.