Skip to content

Instantly share code, notes, and snippets.

@silviud
Created December 13, 2016 23:17
Show Gist options
  • Save silviud/c48be89b57e819562a43eb463f1c6016 to your computer and use it in GitHub Desktop.
Save silviud/c48be89b57e819562a43eb463f1c6016 to your computer and use it in GitHub Desktop.
Self sign OpenSSL certficate
sudo openssl req -x509 -nodes -days 365 -newkey rsa:2048 -keyout /etc/ssl/private/apache-selfsigned.key -out /etc/ssl/certs/apache-selfsigned.crt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment