Beefy Boxes and Bandwidth Generously Provided by pair Networks Bob
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

How to connect a WCF SOAP SERVICE USING PERL WITH SIGNATURE AND ENCRYPTION WITH X 509?

by vineethphp (Initiate)
on Jan 17, 2013 at 08:03 UTC ( #1013722=perlquestion: print w/ replies, xml ) Need Help??
vineethphp has asked for the wisdom of the Perl Monks concerning the following question:

We are trying to consume the web service exposed by a WCF (.NET) web server by using Perl 5 The service uses Signature and Encryption on to handle the client requests. It would be great that if anyone can help us to resolve the issues we are currently facing. The system uses X.509 certificate authentication for accessing and sending the soap XMLS. They uses a policy to recieve and send soap messages. Regarding the encryption/decryption methods,The built-in mechanism of the .NET framework has been utilised - .NET Framework’s built-in mechanism is used for the generation of a random symmetric-key for the particular session of the web services. This key is then encrypted with the rsa-oaep asymmetric-key algorithm using the public key of the certificate. - The symmetric-key algorithm AES256-CBC is used for encrypting the soap server's data. This algorithm uses the above random symmetric-key which is also sent with the message. - The random symmetric-key is decrypted using the certificate's private key. - .NET Framework’s built-in mechanism is also used for the random generation of the Initialization Vector (IV). Regarding Policy File In theory, WCF should be inter operable with any solid WS-* Specification Implementation. The WS-Security specification for Microsoft's implementation we are using is WS-Security 1.0 Regarding Attachments MTOM attachments are Base64 strings longer than 1024bytes are converted to binary attachments for optimised transmission. These attachments are referenced from the element they replace. Expecting your earliest response.

Comment on How to connect a WCF SOAP SERVICE USING PERL WITH SIGNATURE AND ENCRYPTION WITH X 509?
Re: How to connect a WCF SOAP SERVICE USING PERL WITH SIGNATURE AND ENCRYPTION WITH X 509?
by zwon (Monsignor) on Jan 17, 2013 at 08:24 UTC
    .NET Framework’s built-in mechanism is used for the generation of ...

    Are you trying to describe how SSL works, or is it really some framework specific protocol invented in order to decrease interoperability? Your description is not very clear, but I've got an impression that it is SOAP over SSL/TLS. Have a look onto SOAP::Lite.

    PS: also, http://cookbook.soaplite.com/ may be usefull

    PPS: and SOAP::Transport documentation explains how to do SSL certificate authentication

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://1013722]
Approved by Corion
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (15)
As of 2014-04-18 20:08 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    April first is:







    Results (471 votes), past polls