<div dir="ltr"><div>What OpenSSL command is required to generate a proper </div><div>“Web Services Security: SOAP Message Security 1.0 (WS-Security 2004)” Signature Value</div><div> </div><div>I have the following  guidelines in generating the SignatureValue</div><div> </div><div><BinarySecurityToken u:Id="*****"</div><div>ValueType="<a href="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-x509-token-profile-1.0#X509v3">http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-x509-token-profile-1.0#X509v3</a>" </div><div>EncodingType="<a href="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-soap-message-security-1.0#Base64Binary">http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-soap-message-security-1.0#Base64Binary</a>"></div><div>CERTIFICATE</o:BinarySecurityToken></div><div> </div><div>I have a self signed .p12 and/or .pem Certificate file to use in the encryption.</div><div>I have the string that needs to be encrypted as the SignatureValue.</div><div><br></div><div>I suspect that since the Value type is X509v3 that this is a clue on how to generate the Signature.</div><div><br></div><div>I am trying to build a Web Service client within a C++ application which uses OpenSSL for encryption and </div><div>gSOAP to implement the SOAP protocol.</div><div><br></div><div>Any help would be appreciated.</div><div><br></div><div>Thanks</div><div>John Gerard</div></div>