Skip to content

Instantly share code, notes, and snippets.

@hydra3333
Forked from yyuu/snakeoil.sh
Created December 5, 2019 02:24
Show Gist options
  • Save hydra3333/3c6f57e5b9375eabc9cb9cb645cb0b79 to your computer and use it in GitHub Desktop.
Save hydra3333/3c6f57e5b9375eabc9cb9cb645cb0b79 to your computer and use it in GitHub Desktop.
Generate snakeoil SSL certificates on Debian
sudo apt-get install ssl-cert
sudo make-ssl-cert generate-default-snakeoil
sudo usermod --append --groups ssl-cert yyuu
ls -l /etc/ssl/certs/ssl-cert-snakeoil.pem /etc/ssl/private/ssl-cert-snakeoil.key
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment