Replies: 1 comment 10 replies
-
Hi @sopgreg, Please see #88 for a very similar discussion. hth, Philip |
Beta Was this translation helpful? Give feedback.
10 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
we are currently using a different AS4 library (using the ENTSOG profile) and are experiencing a problem with phase4 as drop-in replacement:
The other library allows for different keystores/aliases per remote partner. In fact, all private keypairs are stored within one single JKS/PKCS12 file and the approriate alias is stored within the PMode per partner.
The same goes for the encryption keys (certifactes), which are all stored in one JKS/PKCS12 file and the appropriate alias per partner ist also stored in the PMode.
That's how we also built our GUI and storage around, which seemed fine so far.
With phase4, it seems there is only one global keystore set via
org.apache.wss4j.crypto.merlin.keystore(.file|alias|password)
.Is it possible to change this to a multi-alias behaviour? I tried something like this:
But I would actually only need to override the
getKeyAlias
depending on the partner. And what about the reception side for decryption?Another approach, which would also be fine, could be to store a separate PKCS12 file per remote partner.
Beta Was this translation helpful? Give feedback.
All reactions