Issue #5528 has been updated by Randall Hansen.

How does your work mesh with this:  
[https://projects.puppetlabs.com/projects/puppet/wiki/Certificate_Authority_Rest_API](https://projects.puppetlabs.com/projects/puppet/wiki/Certificate_Authority_Rest_API)?

We have a request on the puppet-dev list:

"I would like to be able to get a list of the hosts with signed certificates.  
This would mean in order to get all hosts with signed certificates I can issue 
the following:"

    https://<master>/<environment>/certificate_statuses/*?restrict=signed
    
----------------------------------------
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: 


Proposal from James:

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