as2 mendelson steps to configure a mendelson - · pdf fileas2 mendelson steps to configure a...
TRANSCRIPT
AS2 Mendelson
Steps To configure a Mendelson
1) Download and Install mendelson open source software by using link http://opensource.mendelson-e-c.com/ then click mendelson As2 software option and Downloadin both systems
2) Download portecle it by using the link sourceforge.net/projects/portecle/ unzip and move it to desktop we need to generate certificates in both systems and exchange a Certificate both systems
Go to Command promt ( start -> run -> cmd ) cd Desktop cd portecle-1.7 and then java -jar portecle.jar
3) Go to File option then open keystore file go the mendelson installation directory ( go to C://mendelson/opensource/as2/certificates ) and then certificates.p12 file when promted to enter a password enter test it will shows a default certificates we need to generate new certificate. Go to tools Generate Key pair then ok Give the Validity days 1000 and all required fields and then ok Right click to the newly generated certificate and press export and give the location for example Desktop then Press Ctrl+s to save the keystore. Then imported keystore will be to used by the second system.
Fallow the 3rd step in another system. Fields Need to be different in the two certificates. Ctrl+s to save the keystore. 4) Now need to exchange the certificates both systems by using any winscp , email etc to the desktop Go to tools Import trusted certificate select the certificate which are exchanged by the another system. then Ctrl+s to save. Fallow the 4th step in another system. 4) Click the file mendelson to run mendelson opensource Then go to the file Partner Delete the partner mendelsontest need to Local Station as active Name : A ( any ) As2 id : AAS2 Go to option Security then select certificate which are generated by same system in both ( encryption and signature ) and then go to MDN http://url:8080/as2/HttpReceiver
Crete a new partner by using new option need to Local system as unactive Go to Misk Name : B ( any ) As2 id : BAS2
Then go to security select the certificate which are exchanged by the another system in both ( encryption and signature )
Go to send edit the option receipt URL : http://url:8080/as2/HttpReceiver
Go to option Receipt keep original file name on Receipt as active
press Ok
5) In second system Click the file mendelson to run mendelson opensource Then go to the file Partner Delete the partner mendelsontest need to Local Station as active Edit Name : B ( any ) As2 id : BAS2 Go to option Security then select certificate which are generated by same system in both ( encryption and signature ) and then go to MDN http://url:8080/as2/HttpReceiver
Crete a new partner by using new option need to Local system as unactive Go to Misk Name : A ( any ) As2 id : AAS2
Then go to security select the certificate which are exchanged by the another system in both ( encryption and signature )
Go to send edit the option receipt URL : http://url:8080/as2/HttpReceiver
Go to option Receipt keep original file name on Receipt as active press Ok
***********************************
To change the Port no go toc://mendelson/opensource/as2/jetty/etc/edit file jetty.xmlfind the line<Set name="port"><SystemProperty name="jetty.port" default="8080"/><change the port 8080 which you want.if you want 9090<Set name="port"><SystemProperty name="jetty.port" default="9090"/><
after this need to modify the some optionsIn your systemopen the file mendelson to run mendelson opensource Go to partner which local station is active Go to MDNhttp://url:9090/as2/HttpReceiver
In second systemopen the file mendelson to run mendelson opensource Go to partner which local station is unactiveGo to option Send edit Receipt URL :http://url:9090/as2/HttpReceiver
***********************************To access AS2 web interface url:port in the browser Default Username : guest password : guest
To change or add the usergo to c://mendelson/opensource/as2/edit file passwdadd the line in lastusername:password::NONE:FULL
To add test user and password for test user is test123test:test123::NONE:FULL