Jira (PUP-10495) Error deleting CSR request through HTTP API

3 views
Skip to first unread message

leo (Jira)

unread,
May 6, 2020, 3:16:03 PM5/6/20
to puppe...@googlegroups.com
leo created an issue
 
Puppet / Bug PUP-10495
Error deleting CSR request through HTTP API
Issue Type: Bug Bug
Assignee: Unassigned
Created: 2020/05/06 12:15 PM
Priority: Normal Normal
Reporter: leo

I can get the CSR information through the API from client

curl -X GET \

  --tlsv1 \

  -H "Accept: application/json" \

  --cacert /etc/puppetlabs/puppet/ssl/certs/ca.pem \

  https://$PUPMASTER:8140/puppet-ca/v1/certificate_request/$CERTNAME

 

Response:

----BEGIN CERTIFICATE REQUEST----

MIIEbDCCAlQCAQAwJzElMCMGA1UEAwwcMDgwMDI3MDkwNWNlLmtpb3NrLnRwYi5s

b2NhbDCCAiIwDQYJKoZIhvcNAQEBBQADggIPADCCAgoCggIBAOBphK7YTkSjn01X

VYPdsszYDWCqzo97+DbCNY1/UTvPNMJ066IMjZj5So3GBqCkL1OR97pMxQc0XfJQ

0RfUh6fyct6w2ngl8tqul/dlKhPbF1Sol9/voMrGpSWJJEGpuCu5qW+JO6XQrHET

VkFAbmejef/9jHIPE82ZYRIWLM+jBnpV+8wnU0BN+myIN4ZnR2D+xU3KjU2T7k/h

4IsHKh3j6lgmn5U/CTuaLU5AwxXItkDdJWNLNY9qfjAdEiQHcd6KMyprTd8ZZEoX

DBNKm7AB1QL0+CLthUcoxpJyAiPId3+IUdMgqPVyET7/hxYUNhL42COQ0E/m0zJC

 

But i can't delete this CSR 

curl -X DELETE \

  --tlsv1 \

  -H "Accept: application/json" \

  --cacert /etc/puppetlabs/puppet/ssl/certs/ca.pem \

  https://$PUPMASTER:8140/puppet-ca/v1/certificate_request/$CERTNAME

Response:

NOT FOUND.

Can you help me with this?

 

Puppet Version: 5.5
Puppet Server Version: 5.5
OS Name/Version: Ubuntu

 

Add Comment Add Comment
 
This message was sent by Atlassian Jira (v8.5.2#805002-sha1:a66f935)
Atlassian logo

Josh Cooper (Jira)

unread,
May 7, 2020, 12:19:03 PM5/7/20
to puppe...@googlegroups.com
Josh Cooper commented on Bug PUP-10495
 
Re: Error deleting CSR request through HTTP API

The REST API for this is implemented in puppetserver, so I'm moving this to the SERVER project

Reply all
Reply to author
Forward
0 new messages