Skip to content

Latest commit

 

History

History
57 lines (49 loc) · 3.15 KB

README.md

File metadata and controls

57 lines (49 loc) · 3.15 KB

CROSS Logo

SureRepute-Modules

--

Structure

Directory Description
CA CA Module
IdentityProvider Identity Provider Module
SureRepute-Server SureRepute-Server Module
SureRepute-Client SureRepute-Client Module
Demo-Client Demo-Client Module

Script Guide

In the root directory exists a setupServerUrls.sh that based sets up the urls of a specific number of servers based on the data that is present on data.json For example to set up 2 servers you do:

./setupServerUrls.sh 2

data.json is a json based file that by default contains:

{
   "ca": "https://localhost:9090",
   "identityProvider": "https://localhost:9091",
   "servers":[
      [
         "SureReputeServer1",
         "https://localhost:9092",
         "https://localhost:9093",
         "https://localhost:9094"
      ],
      [
         "SureReputeServer2",
         "https://localhost:9095",
         "https://localhost:9096",
         "https://localhost:9097"
      ]
   ]
}

The keys-Values pairs are:

  • CA: Url where it is going to run the Certificate Authority
  • IdentityProvider: Url where it is going to run the Identity Provider
  • Servers: List where each index contains a list with the needed information for running each Server. For each server you can set up the identifier, the url for client communication, the url for server communication and the url for identity provider communication respectfully.

By default, 2 servers are set up, but you can set up more.

Authors

Name University More info
Rafael Figueiredo Instituto Superior Técnico