I got the private_key.pem and the public_cert.pem from the .pfx file using OpenSSL.
I also have the username and password for the username token. So while creating the client for the wsdl, I use both the username_token and the Signature for wsse but xmlsec fails to sign with the error xmlsec.InternalError: (-1, 'failed to sign')
I am using the below code to create the signature and then call the client
I got the private_key.pem and the public_cert.pem from the .pfx file using OpenSSL.
I also have the username and password for the username token. So while creating the client for the wsdl, I use both the username_token and the Signature for wsse but xmlsec fails to sign with the error xmlsec.InternalError: (-1, 'failed to sign')
I am using the below code to create the signature and then call the client
The data are replaced
Can someone help me in this???``