Skip to Content
avatar image
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

  • Get RSS Feed

2 Answers

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

    Hello,

    You can try:

    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/d23cbe11-0d01-0010-5287-873a22024f79?overridelayout=true

    Chapter: 4.5

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

    /k

    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

      receiverid

      aprf

      username

      pwd

      datatype

      filename

      Please confirm how we can proceed in this case.

      Best Regards,

      Suresh S

  • 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!

    Regards,

    Bhavesh


    Add comment
    10|10000 characters needed characters exceeded