Hello Dogtag gurus,
I am currently experimenting with using sslget to submit PKCS#10s on a custom cert
profile. Everything seems to be working well, but I always get back a big web page with
the certificate or PKCS#10 buried in some javascript code. I've been doing grep/sed
judo to get it out, but I was wondering if there was a way to get the response from the
webserver to consist solely of the PKCS#7 or X.509 certificate in binary form? Is it
something that is handled through an output plugin?
Thank you,
Jamil Nimeh
Show replies by date
Hi guys,
I may have found my own answer to this one. I didn't see earlier that I could add the
"xmlOutput=true" name-value pair into the query string on the request issued by
sslget. Once I did that I could use perl's XML::Simple parser to get the pkcs7
response out and that seems like an approach that will work for me. At least so far.
Thanks,
Jamil
________________________________
From: pki-users-bounces(a)redhat.com [pki-users-bounces(a)redhat.com] on behalf of Nimeh,
Jamil [Jamil.Nimeh(a)viasat.com]
Sent: Saturday, September 15, 2012 3:32 PM
To: pki-users(a)redhat.com
Subject: [Pki-users] Output plugin for binary cert/PKCS#7 response?
Hello Dogtag gurus,
I am currently experimenting with using sslget to submit PKCS#10s on a custom cert
profile. Everything seems to be working well, but I always get back a big web page with
the certificate or PKCS#10 buried in some javascript code. I've been doing grep/sed
judo to get it out, but I was wondering if there was a way to get the response from the
webserver to consist solely of the PKCS#7 or X.509 certificate in binary form? Is it
something that is handled through an output plugin?
Thank you,
Jamil Nimeh