on 08-23-2007 9:15 PM
How does an OS command level encryption is different from the Adapter Module encrytption Technique?
thanks
Hi Jenni,
Got through these
How To Configure Message Level Security in SAP XI 3.0
Message-Level Security
help.sap.com/saphelp_nw04s/helpdata/en/a8/882a40ce93185de10000000a1550b0/content.htm
Exchange Infrastructure How-to Guides for SAP NetWeaver 2004
http://help.sap.com/saphelp_nw04s/helpdata/en/4f/65c3b32107964996a56e4165077e24/frameset.htm
http://help.sap.com/saphelp_nw04s/helpdata/en/a4/d0201854fb6a4cb9545892b49d4851/frameset.htm
http://help.sap.com/saphelp_nw04s/helpdata/en/a8/882a40ce93185de10000000a1550b0/content.htm
Refer these threads..
/people/sap.user72/blog/2005/06/16/using-digital-signatures-in-xi
I Hope this will help you...
Regards,
Kumar.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
In general, the message processing is done at the Module processor of an adapter. OS command level encryption occurs Before or After the message processing.
While using OS Commands, u can run program that will work with command line. On the other hand, while using the adapter module based encryption, the code has to be written by u or some standard adapter modules could be used.
A major diference is Message processing is independent of any errors that occur during the execution of a configured operating system command. On the other hand, any error in the adapter processing will be reflected directly to the message processing flow.
Regards,
Prateek
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Jenni !
https://www.sdn.sap.com/irj/sdn/forums
<b>Sample code can be found here:</b>
http://help.sap.com/saphelp_nw04s/helpdata/en/a4/d0201854fb6a4cb9545892b49d4851/frameset.htm
<b>refre this PDF</b>https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/55ba9790-0201-0010-aa98-ce8f51ea...
<b>XI does not support PGP encryption by default,you need to write and OS level command</b> for that and use it in File adapter.have a look at the following
<b>How To Configure Message Level Security in SAP XI 3.0</b>
<b>like this one:</b>
/people/varadharajan.krishnasamy/blog/2007/05/11/how-to-use-digital-certificates-for-signing-encrypting-messages-in-xi
refer also
http://help.sap.com/saphelp_nw04s/helpdata/en/a8/882a40ce93185de10000000a1550b0/content.htm
http://help.sap.com/saphelp_nw04s/helpdata/en/4f/65c3b32107964996a56e4165077e24/frameset.htm
http://help.sap.com/saphelp_nw04s/helpdata/en/a4/d0201854fb6a4cb9545892b49d4851/frameset.htm
http://help.sap.com/saphelp_nw04s/helpdata/en/a8/882a40ce93185de10000000a1550b0/content.htm
/people/sap.user72/blog/2005/06/16/using-digital-signatures-in-xi
Deploying the SAP Java Cryptographic Toolkit
http://help.sap.com/saphelp_nw04/helpdata/en/8d/cb71b8046e6e469bf3dd283104e65b/frameset.htm
Key Storage Service
http://help.sap.com/saphelp_nw04/helpdata/en/e9/a1dd44d2c83c43afb5ec8a4292f3e0/frameset.htm
If these things are already done then u need juz few modification in the adapter configuration.
In FTP Connection Parameters -> command line -> FTPS (Control and Data connection)
You can also go through the blogs
Encryption(SSL)
/people/varadharajan.krishnasamy/blog/2007/05/11/how-to-use-digital-certificates-for-signing-encrypting-messages-in-xi
Examples for Using Digital Signatures
http://help.sap.com/saphelp_nw04s/helpdata/en/a4/d0201854fb6a4cb9545892b49d4851/frameset.htm
<b>XI and PGP Encryption</b>
<b>Linux script for PGP encryption </b>
PGP Encryption is used to support the transmission of sensitive data to / from third party systems via XI.
Adapter modules are developed to encrypt the file using PGP.
We had a similar requirement where we used PGP encryption.The module was developed using Cryptix OpenPGP which is a Java implementation of the OpenPGP standard.When the module is called in the adapter, it uses the PGP key provided by the party that will receive the encrypted message. This module should be called prior to calling the Sap adapter
Logic Flow/Processing:
-
1.Read the XML payload and message for getting the needed data.
2.Read the key to be used in the encryption and log the key to be used and the beginning of the encryption.
3.Call the PGP encryption and compression method.
4.Log whether encryption has been successful.
5.Set as payload the message content encrypted, and the principal data.
6.If any error occurs, logs an exception in PGP adapter module and the error reason.
7.Return the message.
Go through This links
http://www.webmethods.com/meta/default/folder/0000007429
http://www1.webmethods.com/PDF/webMethods_for_SAP-wp.pdf
Current versions found at http://www.cryptix.org and http://www.bouncycastle.org.
http://www.bouncycastle.org/documentation.html
If you want to use the unix script on windows then you need cygwin. Take the shell executable and cygwin.dll and copy them to another machine and try out.
Else you write an .exe or a batch file where you will give your PGP command to encrypt and decrypt and execute it from the OS level in your adapter. Check my answer in this thread:
Might be useful.
Pls reward if useful
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks Sathish, But it didn't answer my question.
When I want to do a encryption on File I understand completely the process. But on the other hand if I want to send some IDOC to my receiver that has to be encrypted how to do that?
Or If I want to send an Invoice over an HTTP as PGP encrypted how to achieve that?
Thanks.
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.