Skip to content
Mint Service Desk Documentation centre

Generating self-signed certificates

Use openssl on Linux to generate a self-signed certificate and its private key.

On Linux with openssl installed, generate a self-signed certificate with:

$ openssl req -newkey rsa:2048 -new -nodes -x509 -days 3650 \
  -keyout "privkey.key" -out "fullchain.pem" -subj \
  "/C=PL/ST=Test State/L=Test /O=Test Name\
  /OU=Test Unit/CN=Common/emailAddress=test@test.test"