[Pki-users] Output plugin for binary cert/PKCS#7 response?
Nimeh, Jamil
Jamil.Nimeh at viasat.com
Sun Sep 16 09:03:56 UTC 2012
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 at redhat.com [pki-users-bounces at redhat.com] on behalf of Nimeh, Jamil [Jamil.Nimeh at viasat.com]
Sent: Saturday, September 15, 2012 3:32 PM
To: pki-users at 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/pki-users/attachments/20120916/0f244b0b/attachment.htm>
More information about the Pki-users
mailing list