-
-
Save winks/7107735 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Create a self-signed cert | |
openssl req -x509 -batch -nodes -newkey rsa:2048 -keyout lumberjack.key -out lumberjack.crt | |
# Run a server | |
openssl s_server -accept 3333 -cert lumberjack.crt -key lumberjack.key | |
# Run a client | |
openssl s_client -connect localhost:3333 -cert lumberjack.crt -key lumberjack.key |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment