<div dir="ltr"><div>Hi Pascal,</div><div><br></div><div>What version of PKI are you using?</div><div><br></div><div>Can you try replacing your URL with https protocol and corresponding port number? <a href="https://zbook.home:8443/ca/rest/agent/certrequests" target="_blank">https://zbook.home:8443/ca/rest/agent/certrequests<br></a></div><div>By default, secure port is 8443</div><div><br></div><div>Regards,</div><div>--Dinesh<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Jun 15, 2020 at 6:55 PM Pascal Jakobi <<a href="mailto:pascal.jakobi@gmail.com">pascal.jakobi@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div>
<p>I am trying to retrieve the cert reqs that are in my CA at the
moment.</p>
<p>The (wrong) curl command I use is below, with its result :<br>
</p>
<p>curl -v -E "/tmp/ca_admin.cert" -H "Accept: application/json"
<a href="http://zbook.home:8080/ca/rest/agent/certrequests" target="_blank">http://zbook.home:8080/ca/rest/agent/certrequests</a><br>
* Trying 192.168.1.20...<br>
* TCP_NODELAY set<br>
* Connected to zbook.home (192.168.1.20) port 8080 (#0)<br>
> GET /ca/rest/agent/certrequests HTTP/1.1<br>
> Host: zbook.home:8080<br>
> User-Agent: curl/7.61.1<br>
> Accept: application/json<br>
> <br>
< HTTP/1.1 302 <br>
< Cache-Control: private<br>
< Expires: Thu, 01 Jan 1970 00:00:00 GMT<br>
< Location: <a href="https://zbook.home:8443/ca/rest/agent/certrequests" target="_blank">https://zbook.home:8443/ca/rest/agent/certrequests</a><br>
< Content-Length: 0<br>
< Date: Mon, 15 Jun 2020 22:50:24 GMT<br>
< <br>
* Connection #0 to host zbook.home left intact<br>
</p>
<p>Can someone tell me what's the correct curl command or why don't
I receive anything as a result ? <br>
</p>
<p><br>
</p>
<p>Thank you in advance.<br>
</p>
<div>-- <br>
<b>Pascal Jakobi</b> <br>
</div>
</div>
_______________________________________________<br>
Pki-users mailing list<br>
<a href="mailto:Pki-users@redhat.com" target="_blank">Pki-users@redhat.com</a><br>
<a href="https://www.redhat.com/mailman/listinfo/pki-users" rel="noreferrer" target="_blank">https://www.redhat.com/mailman/listinfo/pki-users</a></blockquote></div>