[Pki-users] curl / certrequests

Pascal Jakobi pascal.jakobi at gmail.com
Mon Jun 15 22:53:58 UTC 2020


I am trying to retrieve the cert reqs that are in my CA at the moment.

The (wrong) curl command I use is below, with its result :

curl -v  -E "/tmp/ca_admin.cert" -H "Accept: application/json" 
http://zbook.home:8080/ca/rest/agent/certrequests
*   Trying 192.168.1.20...
* TCP_NODELAY set
* Connected to zbook.home (192.168.1.20) port 8080 (#0)
 > GET /ca/rest/agent/certrequests HTTP/1.1
 > Host: zbook.home:8080
 > User-Agent: curl/7.61.1
 > Accept: application/json
 >
< HTTP/1.1 302
< Cache-Control: private
< Expires: Thu, 01 Jan 1970 00:00:00 GMT
< Location: https://zbook.home:8443/ca/rest/agent/certrequests
< Content-Length: 0
< Date: Mon, 15 Jun 2020 22:50:24 GMT
<
* Connection #0 to host zbook.home left intact

Can someone tell me what's the correct curl command or why don't I 
receive anything as a result ?


Thank you in advance.

-- 
*Pascal Jakobi*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/pki-users/attachments/20200616/0464cde5/attachment.htm>


More information about the Pki-users mailing list