Key:
openssl genrsa -out cert.key 2048
Cert:
openssl req -new -x509 -key cert.key -out cert.pem -days 3650