Skip to content
This repository was archived by the owner on Mar 26, 2024. It is now read-only.

support Puppet Certificate API v1 with fallback to pre-v1 behavior#336

Merged
sodabrew merged 1 commit intosodabrew:masterfrom
jorhett:puppet4-cert
Aug 21, 2018
Merged

support Puppet Certificate API v1 with fallback to pre-v1 behavior#336
sodabrew merged 1 commit intosodabrew:masterfrom
jorhett:puppet4-cert

Conversation

@jorhett
Copy link
Contributor

@jorhett jorhett commented Nov 27, 2015

This attempts the v1 API first, then falls back if that fails but old URL paths work. It also adds some useful output and reports errors not previously available.

$ bundle exec rake -v cert:create_key_pair
$ bundle exec rake -v cert:request
Testing CA server for Certificate API v1 compatibility...succeeded.
Puppet Certificate API v1 verified.
Submitting certificate request to CA server...sent.

$ bundle exec rake cert:retrieve
Certificate not found. Certificate may not yet be signed on puppet.svcolo.com.

After signing the certificate on the server:

$ bundle exec rake -v cert:retrieve
Testing CA server for Certificate API v1 compatibility...succeeded.
Puppet Certificate API v1 verified.
Requesting the signed certificate from the CA server...got it.
Requesting the CA's revocation list...got it.

This completely resolves #331

@jorhett
Copy link
Contributor Author

jorhett commented Mar 24, 2016

@sodabrew Aaron these PRs are sitting around without any responses from you. Would you consider expanding this project to allow other contributions?

@Skunnyk Skunnyk mentioned this pull request Oct 5, 2016
@sodabrew sodabrew merged commit b7a75f9 into sodabrew:master Aug 21, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Incorrect URI for Puppet 4 Certificate Authority

2 participants