Instructions how to get access to MSP3 tool and source code Make sure you have the following tools before you want to run MSP3 tool locally ( Recommended)

smuthhomelyΔιακομιστές

17 Νοε 2013 (πριν από 3 χρόνια και 6 μήνες)

114 εμφανίσεις

Instructions how to get access to MSP3 tool and source code

Make sure you have the following tools before you want to run MSP3 tool
locally ( Recommended)

1. Apache Tomcat 7 ( Application Server )
2. Eclipse IDE ( INDIGO )
3. JDK 1.7
4. OpenSSL

Step 1:
Install the Java RI version of Direct. See
http
://
wiki
.
directproject
.
org
/
Java
+
Reference
+
Implementation
for instructions.

Step 2:

Install Apache Directory Server and Apache Directory Studio. These are open source
tools that can be found online.

Step 3:

Create certificates off of one anchor that comply with the test data matrix found in
the test data matrix tab of the latest Mod Spec Phase 3 Test Package found here:
http
://
modularspecs
.
siframework
.
org
/
Phase
+3+
Artifacts
+
for
+
Review


Step 4:

Using the test data matrix, load the certificates into either the LDAP servers (using
Apache Directory Server and Apache Directory Studio) or the DNS (using the Direct Reference
Implementation) . Install the anchor into your Direct RI for each domain that you created. Be
sure to update the config.xml file for the Direct RI to match whatever domains you are using.

Step 5:
Adding Maven Plugin.
From Eclipse → click on Help



Click on
Eclipse Marketplace
... and Enter
Maven
Click on Maven Integration for Eclipse and Install.


Step 6:
Adding MSP3 Tool into Eclipse locally.
In Eclipse →
Click on → File

Import → Checkout Maven Projects from

SCM




Enter → URL →

https
://
modular
-
spec
-
phase
-3.
googlecode
.
com
/
svn
/
trunk
/
ModularSpecPhase
3_
Tool
_
Maven
/



Click → Finish

Now you will have MSP3 Tool in your local IDE

Note:
Once you install Maven will sync with the repository and will get all the dependencies required for MSP3 tool
and it might take up to 5 mins to index the dependencies.





Step 7:
Adding Server to local IDE →
Step a
: Select File(Top Left Window) → New → Other →
You will then see ...
Step b
: Select a Wizard:
Type in the box → server → Select the Server and Click Next [You will see bunch of different
Application server]
Step c
: Under Apache: Select Tomcat v7.0 Server and click Next
Then you will the Window:

Tomcat Server (Specify the installation directory)
Step d
: Click Browse and point to the location where you downloaded (apache-tomcat-7.0.27)
and Click Finish.
In Eclipse you will then see Server ( in Package Explorer ) when you click that you will see the
folder (Tomcat v7.0 Server at Localhost-config)


Step 8:
Adding required configuration files for MSP3 tool .

Go to →
Tomcat Home Folder →
Conf →
(Create folder name) direct →



Create two files
1. config.properties
2. email.properties


Step 9:

Download EML and Certs files

The files are located on this page under the “Test Team” area:
http
://
modularspecs
.
siframework
.
org
/
Phase
+3+
Artifacts
+
for
+
Review


Step 10:

Go to →
config.properties

Add the location of the Certificates that you downloaded to the above config.properties file. The
Email location is the path to where the raw messages are received by your Direct server.

Example:
#Certificate Info
EmlLocation=//Users//username//TestInfo//Email
CertLocation=//Users//username///TestInfo/Certs

In the same file (config.properties), add information about a gmail account that can be used to
send the response emails:

Example:

#Return Email Address Info
emailAddress=certdiscoverymodspec3@gmail.com
emailPassword=d!r3ct66
smtpHostName=smtp.gmail.com
smtpPort=465

Step 11:


Run MSP3 tool locally on Tomcat →

Right click on the project →



Run as →

Run on Server → Tomcat 7

Next →
Go to your browser Enter

http
://
localhost
:8080/
ModularSpecPhase
3_
Tool
/




MSP3 TOOL Up and Running in your Local Environment