How to connect with Amazon EDI?

Hi friends

I am trying to use mendelson AS2 to communicate with Amazon AS2. But I don't know how to generate public key for Amazon EDI server, and how to upload Amazon's certificate to my local mendelson AS2 server? I want to deploy the mendelson AS2 on my linux server which has an external IP. Any ideas?

Thank you very much.