Skip to content

Instantly share code, notes, and snippets.

@zoka123
Created August 13, 2015 08:48
Show Gist options
  • Select an option

  • Save zoka123/f139e1ebd0bb533a1d96 to your computer and use it in GitHub Desktop.

Select an option

Save zoka123/f139e1ebd0bb533a1d96 to your computer and use it in GitHub Desktop.
SSL server on localhost
* 1. generate certificates: openssl req -x509 -newkey rsa:2048 -keyout key.pem -out cert.pem
* 2. start a SSL server with command: openssl s_server -accept 12345 -key key.pem -cert cert.pem
* - password should be your cert file pass
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment