cancel
Showing results for 
Search instead for 
Did you mean: 

HTTP with Encryption and Signing (MIME Protocol)

Former Member
0 Kudos

Hi All,


I have a below requirement in project. Currently we are in PO 7.4


IDoc -- > SAP PI --> (via HTTPS SSL) BANK


I need to encrypt and Sign the Data and share it to Bank.


Protocol Used: S/MIME .. PGP Encryption/Decryption Module doesn't suit my requirement due to different protocol.


SOAP (HTTP)  --> Do not use soap envelope and MIME Protocol i could use , but i can't pass my HTTP Header. (any way we could pass more HTTP header in SOAP Protocol?)


Please share the approach to achieve the solution. if JAVA mapping kindly throw idea on S/MIME protocol JAVA mapping possibility?


Best Regards,

Suresh S



Accepted Solutions (1)

Accepted Solutions (1)

turmoll
Active Contributor
0 Kudos

Hello,

You can try:

http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/d23cbe11-0d01-0010-5287-873a22024...

Chapter: 4.5

You need to specify MIME as: application/pkcs7-mime

/k

Former Member
0 Kudos

Hi Jakub,

Thanks for the response.

I am interested in passing 7 to 8 custom HTTP Parameters., Is it possible with any other Standard Module?

Please confirm.

Best Regards,

Suresh S

turmoll
Active Contributor
0 Kudos

I'm not sure. Maybe not. Have you tried/tested?

What parameters do you want to pass?

/k

Former Member
0 Kudos

Hi Jakub,

I would need to pass the below header fields.

action request

receiverid

aprf

username

pwd

datatype

filename

Please confirm how we can proceed in this case.

Best Regards,

Suresh S

Answers (1)

Answers (1)

bhavesh_kantilal
Active Contributor
0 Kudos

As far as I know, the HTTP_AAE adapter does not provide a mechanism to perform S/MIME Signing / Encryption of Messages.

But - what you can do is - use a SOAP Receiver Adapter with the Option Do Not Use SOAP Envelope. This will then mean that your SOAP Adapter behaves like a HTTP Adapter. The SOAP Adapter provides a Native format to perform S/MIME Encryption.

Note: I have personally not used this option and hence not sure if this would work 100% but worth a shot!

Regards,

Bhavesh