This Short Guide shows you How to Create/Make/Generate an OpenSSL/SSL .pem Private Key on Linux Mint.
To Generate a Private OpenSSL .pem Key you will Need to have Installed on System the OpenSSL for Linux Mint.
Finally, to the article Bottom there is a Link to Guides for How to Create a Self-Signed SSL Certificate to Secure your Server on Linux Mint.