On 04/06/2010 06:28 PM, Erwin Himawan wrote:
Hi All,
I am trying to use HttpClient to submit a CMC request. So far, I have
no luck. Each time, I do HttpClient, the server responses with http 404.
Anybody has ever tried this?
My questions is: could I use HttpClient to submit a CMC request and
obtain a CMC response (a certificate?)
Here are my procedures:
1. Use certutil to create a CSR
2. Use CMCRequest to create a CMC request message
The CMCRequest.cfg content
numRequests=1
input=crmf1
output=cmcReq
nickname=RA Administrator
dbdir=/home/RAagent
password=
format=pkcs10
3. Use HttpClient to submit the request
My HttpClient.cfg contents:
host=ca.hh.org <
http://ca.hh.org>
port=9180
secure=false
input=cmcReq
output=cmcResp
servlet=/ca/profileSubmitCMCFull
I have previously had success with a httpclient.cfg like this...
host=qe-blade-13.idm.lab.bos.redhat.com
port=23543
secure=true
password=redhat
input=/root/tmp1/cmcrequest.der
output=/root/tmp1/cmcresponse.der
dbdir=/root/tmp1/
clientmode=true
nickname=CA Administrator of Instance rhpki-ca1's Idm Lab Bos Redhat
Domainmitm ID
servlet=/ca/ee/ca/profileSubmitCMCFull
Thanks,
Erwin
_______________________________________________
Pki-users mailing list
Pki-users(a)redhat.com
https://www.redhat.com/mailman/listinfo/pki-users