Partners need to be added/declared for you to be able to send messages to them as well as to receive messages from them. Declaring a partner requires some information from the that respective partner such as it’s as2 identifier, recipient URL and so on.. (These are the information of a foreign trading station corresponds to the Partner Configuration that we saw on our local trading station page in the previous section).
To add a partner, first go to the partners view using the "Partners" icon on the left navigation menu. Then on the top menu, click on "New Partner" button.
Now you need to fill the required information to configure the trading partner you are about to add.
Specify a name for the trading partner, this is just a textual identifier for you to easily distinguish this partner from others in the cards view and will not be used in any AS2 message communication properties.
Select the partner type. If you are using the partner for testing purposes we suggest you to use "Test" or else use "Production" type.
Specify the AS2 Identifier of the partner, this has to be obtained from the partner.
Specify a description mainly describe the partner for identification purposes within the application
Specify the partner URL which is used to send messages to this partner (in other words the partner is listening on this URL for messages).
Set the "Upload New" toggle to true and then upload the public certificate of corresponding private certificate partner uses to encrypt messages (if encryption is enabled for outgoing messages). Here you have an option to select it from the "Certificate Store" as well.
Set this "Use different certificate as signing certificate" toggle to true if you want to use different certificates for signing and encryption of AS2 messages.
If you are new to AS2 messaging we recommond you to go with same certificate for both signing and encryption ("Use different certificate as signing certificate" toggle set to false).
Then provide a default message subject which will be used if a subject is not specified when sending messages.
Then we have the advanced options. We’ll skip these for now.
Finally click the Save button to submit the form.