Created
November 18, 2016 03:51
-
-
Save GeoffWilliams/8a4b42e84e5ae44f6bc9d8e4a60f3edc to your computer and use it in GitHub Desktop.
Quick way to test out puppet SSL connections that are giving crazy ssl errors, adapted from http://www.masterzen.fr/2010/11/14/puppet-ssl-explained/ to not need you to type any paths. Ctrl+f to send a request. Thanks to Ben Ford from Puppet.com for putting me on to this!
This file contains hidden or 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
| openssl s_client -host $(puppet config print server) -port 8140 -cert $(puppet config print certdir)/$(puppet config print certname).pem -key $(puppet config print privatekeydir)/$(puppet config print certname).pem -CAfile $(puppet config print certdir)/ca.pem |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment