Created
February 28, 2017 00:46
-
-
Save mustafaturan/89af9cfc0727f2c70d7dcf489c03aca6 to your computer and use it in GitHub Desktop.
Fetch Certificate From A Web Page
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
#!/usr/bin/env bash | |
openssl s_client -connect {hostname}:{port} -showcerts |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Create a self-signed certificate for both client & server
Update nginx.conf
Sample req