Skip to content

Instantly share code, notes, and snippets.

@GeoffWilliams
Created November 18, 2016 03:51
Show Gist options
  • Select an option

  • Save GeoffWilliams/8a4b42e84e5ae44f6bc9d8e4a60f3edc to your computer and use it in GitHub Desktop.

Select an option

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!
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