Created
May 5, 2020 16:24
-
-
Save raphink/253eef9ae359f46ed0d873223e3474a7 to your computer and use it in GitHub Desktop.
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
require 'puppet' | |
Puppet.initialize_settings | |
host = Puppet::SSL::Host.new() | |
host.generate | |
sm = Puppet::SSL::StateMachine.new(waitforcert: 10) | |
sm.ensure_client_certificate |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment