Hi Pascal,
What version of PKI are you using?
Can you try replacing your URL with https protocol and corresponding port
number?
https://zbook.home:8443/ca/rest/agent/certrequests
By default, secure port is 8443
Regards,
--Dinesh
On Mon, Jun 15, 2020 at 6:55 PM Pascal Jakobi <pascal.jakobi(a)gmail.com>
wrote:
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*
_______________________________________________
Pki-users mailing list
Pki-users(a)redhat.com
https://www.redhat.com/mailman/listinfo/pki-users