<div dir="ltr">Hello<br><br><br>I'm trying to approve certificate requests by using curl as in <a href="https://github.com/dogtagpki/pki/wiki/PKI-CA-Approve-Certificate-Request-REST-API">https://github.com/dogtagpki/pki/wiki/PKI-CA-Approve-Certificate-Request-REST-API</a> <br><br><div>I manage to submit certificate requests by posting an xml request template, I can retrieve the list of requests, the curl command for a review works fine, but I'm stuck with approval by using curl (I can approve CSR with pki tool but I still don't know do the same with curl). <br></div><div><br></div><div>BTW, here is my command for reviewing request:</div><br>curl -ks -X GET  --cert-type P12 --cert ca_admin_cert.p12:<password> <a href="https://dogtag.server:8443/ca/rest/agent/certrequests/08">https://dogtag.server:8443/ca/rest/agent/certrequests/08</a> --header "Content-Type:application/xml" |  xmllint --format -<br><br><br>Can someone tell me what's the correct curl command to approve cr? or is there any example of request approval (with curl) somewhere? or even something more detailed than <a href="https://github.com/dogtagpki/pki/wiki/PKI-CA-Approve-Certificate-Request-REST-API">https://github.com/dogtagpki/pki/wiki/PKI-CA-Approve-Certificate-Request-REST-API</a>?<br><br>PS: I had a look at the JAVA API (<a href="https://github.com/dogtagpki/pki/wiki/PKI-CA-Java-API#approving-a-certificate-request">https://github.com/dogtagpki/pki/wiki/PKI-CA-Java-API#approving-a-certificate-request</a>) but it didn't help me so much.<br><br>Regards,<br>Pier</div>