Skip to content

Instantly share code, notes, and snippets.

@jonathanwork
Created April 10, 2022 00:02
Show Gist options
  • Select an option

  • Save jonathanwork/7a3fd1e7d5119c8d2e2681aa94b1cf5c to your computer and use it in GitHub Desktop.

Select an option

Save jonathanwork/7a3fd1e7d5119c8d2e2681aa94b1cf5c to your computer and use it in GitHub Desktop.
adding ssl to connection
openssl genrsa -out key.pem
openssl req -new -key key.pem -out csr.pem
openssl x509 -req -days 9999 -in csr.pem -signkey key.pem -out cert.pem
rm csr.pem
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment