SHARE
TWEET

Untitled

a guest Oct 21st, 2019 69 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. java -Djava.security.properties==./java.sec -cp lib/jade.jar jade.Boot -nomtp -icps jade.imtp.leap.JICP.JICPPeer -gui -name main -container-name main -port 5656 -local-port 5656
  2.  
  3. java -Djava.security.properties==./java.sec -cp lib/jade.jar jade.Boot -nomtp -icps jade.imtp.leap.JICP.JICPPeer -container  -container-name kontener -port 5656 -local-port 4646
  4.  
  5. ZAD2
  6.  
  7. keytool -genkey -alias jade-main -keyalg RSA -keystore keystore0 -keypass changeit \
  8. -storepass changeit -dname "CN=Giada , OU=JADE , O=FooBar Ltd , L=Naples , ST=na,C=IT";\
  9. keytool -genkey -alias jade-container1 -keyalg RSA -keystore keystore1 -keypass changeit \
  10. -storepass changeit -dname "CN=Giada , OU=JADE , O=FooBar Ltd , L=Naples , ST=na,C=IT";\
  11. keytool -genkey -alias jade-container2 -keyalg RSA -keystore keystore2 -keypass changeit \
  12. -storepass changeit -dname "CN=Giada , OU=JADE , O=FooBar Ltd , L=Naples , ST=na,C=IT";
  13.  
  14. keytool -export -keystore keystore0 -storepass changeit -alias jade-main -rfc -file main.cer;\
  15. keytool -export -keystore keystore1 -storepass changeit -alias jade-container1 -rfc -file container1.cer;\
  16. keytool -export -keystore keystore2 -storepass changeit -alias jade-container2 -rfc -file container2.cer
  17.  
  18. keytool -import -keystore truststore0 -storepass changeit -alias jade-container1 -file container1.cer -noprompt;\
  19. keytool -import -keystore truststore0 -storepass changeit -alias jade-container2 -file container2.cer -noprompt;\
  20. keytool -import -keystore truststore1 -storepass changeit -alias jade-main -file main.cer -noprompt;\
  21. keytool -import -keystore truststore1 -storepass changeit -alias jade-container2 -file container2.cer -noprompt;\
  22. keytool -import -keystore truststore2 -storepass changeit -alias jade-container1 -file container1.cer -noprompt;\
  23. keytool -import -keystore truststore2 -storepass changeit -alias jade-main -file main.cer -noprompt
  24.  
  25.  
  26. java -cp lib/jade.jar jade.Boot  -Djava.security.properties==./java.sec \
  27. -Djavax.net.ssl.keyStore=keystore0 -Djavax.net.ssl.keyStorePassword=changeit \
  28. -Djavax.net.ssl.trustStore=trustore0\
  29. -nomtp -icps jade.imtp.leap.JICP.JICPPeer -gui -name main -container-name main -port 5656 -local-port 5656
  30.  
  31. java -cp lib/jade.jar jade.Boot  -Djava.security.properties==./java.sec \
  32. -Djavax.net.ssl.keyStore=keystore1 -Djavax.net.ssl.keyStorePassword=changeit \
  33. -Djavax.net.ssl.trustStore=trustore1\
  34. -nomtp -icps jade.imtp.leap.JICP.JICPPeer -container -container-name container1 -container-name jade-container1 -port 5656 -local-port 4646
  35.  
  36. java -cp lib/jade.jar jade.Boot  -Djava.security.properties==./java.sec \
  37. -Djavax.net.ssl.keyStore=keystore2 -Djavax.net.ssl.keyStorePassword=changeit \
  38. -Djavax.net.ssl.trustStore=trustore2\
  39. -nomtp -icps jade.imtp.leap.JICP.JICPPeer -container -container-name container2 -container-name jade-container2 -port 5656 -local-port 3636
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top