Skip to Content
author's profile photo Former Member
Former Member

HTTP with Encryption and Signing (MIME Protocol)

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

Add comment
10|10000 characters needed characters exceeded

2 Answers

  • Best Answer
    Posted on Jul 13, 2016 at 04:17 AM


    You can try:

    Chapter: 4.5

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


    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Jakub Turminski

      Hi Jakub,

      I would need to pass the below header fields.

      action request







      Please confirm how we can proceed in this case.

      Best Regards,

      Suresh S

  • Posted on Jul 13, 2016 at 03:03 AM

    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!



    Add comment
    10|10000 characters needed characters exceeded