Hello,
i download the last version from m-e-c as server (mec_as2_1.0b25). i create a new keystore with portecle-1.3 and get some error. my partner use the i-effect AS2Client to send and recieve messages.
if i create a new partner in mec_as2_1.0b25 with following settings:
Sig.: SHA1
Decrypt: 3DES
my partner sends a message i get errors like this:
SCHWERWIEGEND: mec_as2-1227535115924-1@XXX: MDN erstellt, Status auf [processed/error: decryption-failed] gesetzt.
24.11.2008 14:58:36 de.mendelson.comm.as2.message.AS2MessagePacker createMDNError
SCHWERWIEGEND: i-effect AS2Client-20081124135836787-7160@XXXXX:
MDN Details:
--------------
key invalid in message.
--------------
######## LOG START #######
Log:
[24.11.08 14:58:35]
i-effect AS2Client-20081124135836787-7160@XXXXXX: Eingehende Übertragung
ist eine AS2 Nachricht, Rohdatengrösse: 1,00 KB
[24.11.08 14:58:35]
i-effect AS2Client-20081124135836787-7160@XXXXX: AS2 Nachricht
ist verschlüsselt.
[24.11.08 14:58:35]
mec_as2-1227535115924-1@YYYYYY: Ausgehende MDN wurde
mit dem Algorithmus "SHA1" signiert.
[24.11.08 14:58:35]
mec_as2-1227535115924-1@YYYYYY: MDN erstellt, Status
auf [processed/error: decryption-failed] gesetzt.
[24.11.08 14:58:36]
i-effect AS2Client-20081124135836787-7160@XXXXX:
MDN Details:
--------------
key invalid in message.
--------------
[24.11.08 14:58:36]
mec_as2-1227535115924-1@YYYYYY: Synchrone MDN als Antwort
auf i-effect AS2Client-20081124135836787-7160@XXXXX versandt.
######## LOG END #######
if i set the settings on:
Sig.: SHA1
Decrypt: None
i recive the file.
what's wrong?
----
question 2:
i can't decrypt messages over as2. if i create a environment with two different mec_as2_1.0b25 i got a error message, too.
An error occured during the as2 message processing: key invalid in message
who can help me?
Hi,
i solved the problem. my client had "Crypto-Strength: limited" in manifest.mf (Jre\lib\scecurity\Local_Policy.jar) and my server runs with "Crypto-Strength: unlimited". i change it..
thanks for the nice project!