Skip to content

Instantly share code, notes, and snippets.

@semagarcia
Created December 13, 2017 20:04
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save semagarcia/729256d079d40e7f77b44beda7fa6edd to your computer and use it in GitHub Desktop.
Save semagarcia/729256d079d40e7f77b44beda7fa6edd to your computer and use it in GitHub Desktop.
Generating a certificate
#! /bin/bash
openssl req -x509 -newkey rsa:4096 -keyout key.pem -out cert.pem -days 365 -nodes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment