1 This project contains the Account Server code.
6 1) Install Apache Maven if you don't have it
8 http://maven.apache.org
10 2) Build a CloudStack. If you are building first time, then build the stack.
12 go to "stack" folder in root directory
13 $ mvn install -Dmaven.test.skip=true
17 $ mvn install -Dmaven.test.skip=true
19 - The CloudAccount-0.0.1-SNAPSHOT.jar file will be placed in the "target" folder
21 4) Copy the "properties" folder to inside the "target" folder
26 $ java -jar CloudAccount-0.0.1-SNAPSHOT.jar arg1(AccountServer CoAP Server Port) arg2(TLS mode required)
27 e.g. java -jar CloudAccount-0.0.1-SNAPSHOT.jar 5685 0
29 - If you want to operate on TLS mode, "CLOUD_CERT_FILE(iotivitycloud.crt)" and "CLOUD_KEY_FILE(iotivitycloud.key)" files
30 should be placed in the "target" folder.
31 - If you want to provide a certificate of another server in the payload of a sign-up response (when the certificate is
32 needed for a client to connect to the server), a "ROOT_CERT_FILE(rootca.crt)" file should be placed in the "target" folder.
33 - Before you run a Accout server, You need to set up following steps.
35 2) Install Github certificates for github.com and *.github.com.
36 6) Please download: file from http://www.oracle.com/technetwork/java/javase/downloads/jce8-download-2133166.html: Java Cryptography Extension
37 1.Extract files from zip.
38 2.Place local_policy.jar and US_export_policy.jar files in/usr/lib/jvm/PATH_TO_JDK/jre/lib/security