Issue #5528 has been updated by Nigel Kersten.

API design is part of this ticket. Don't necessarily just take the above 
description as the desired implementation.

It's the functionality we care much more about.
----------------------------------------
Feature #5528: API call to sign, clean or generate certificate request
https://projects.puppetlabs.com/issues/5528

Author: James Turnbull
Status: Accepted
Priority: High
Assignee: 
Category: API
Target version: Statler
Affected Puppet version: 
Keywords: API certificate SSL generate clean sign
Branch: 


SIGN
<pre>
Certificate Request

PUT /{environment}/certificate_requests/sign/{anything}
PUT /{environment}/certificate_request/sign/{node certificate name}

curl -k -H "Accept: yaml" 
https://puppetmaster:8140/production/certificate_requests/sign/all
curl -k -H "Accept: yaml" 
https://puppetmaster:8140/production/certificate_request/sign/puppetclient
</pre>

CLEAN

<pre>
Certificate Request

PUT /{environment}/certificate_requests/clean/{anything}
PUT /{environment}/certificate_request/clean/{node certificate name}

curl -k -H "Accept: yaml" 
https://puppetmaster:8140/production/certificate_requests/clean/all
curl -k -H "Accept: yaml" 
https://puppetmaster:8140/production/certificate_request/clean/puppetclient
</pre>

GENERATE
<pre>
Certificate Request

GET /{environment}/certificate_request/generate/{node certificate name}

curl -k -H "Accept: yaml" 
https://puppetmaster:8140/production/certificate_request/generate/puppetclient
</pre>


-- 
You have received this notification because you have either subscribed to it, 
or are involved in it.
To change your notification preferences, please click here: 
http://projects.puppetlabs.com/my/account

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Bugs" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/puppet-bugs?hl=en.

Reply via email to