rfransix
14 years agoOccasional Contributor
xml message with signature and certificate
Hello, the following is the xml posted to a protected resource. The protected agent requires a signature and a certificate before authenticating the user. I have no idea how to that, anyone with time to submit a sample? I have the x509 cert in the global ssl keystore value with both the authority cert and the user cert.
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ser="http://service.webservice.my.com/">
<soapenv:Header/>
<soapenv:Body>
<ser:postUser>
<uid>=firstname.lastname</uid>
</ser:postUser>
</soapenv:Body>
</soapenv:Envelope>
The Envelop needs to contain a <Signature> and a <userCertificate>, not sure how that should look. Thank you very much.
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ser="http://service.webservice.my.com/">
<soapenv:Header/>
<soapenv:Body>
<ser:postUser>
<uid>=firstname.lastname</uid>
</ser:postUser>
</soapenv:Body>
</soapenv:Envelope>
The Envelop needs to contain a <Signature> and a <userCertificate>, not sure how that should look. Thank you very much.