Skip to content

KeyServer Launch

Javier Martinez Gusano edited this page Oct 3, 2017 · 9 revisions

Launch KeyServer

Follow these steps for execute the KeyServer:

  1. Be sure that Redis database is running and accessible by the KeyServer.
  2. Check if the KeyServer configuration file contains your custom parameters.
  3. If will be necessary, please add the IP address from your authorized hosts to the Whitelist file.
  4. The KeyServer instance runs under Java 8. Please execute this command as 'root':
$ sudo java -jar KeyServer-v0.4.4.jar

  1. If all works correctly, the KeyServer will start and you'll see an output similar to:

[ INFO ] - Loading KeyServer parameters...

+------------------------------------------------------------------------+ | _ __ ____ | | | |/ /___ _ / | ___ _ ____ _____ _ __ | | | ' // _ \ | | _ \ / _ \ '\ \ / / _ \ '_| | | | . \ __/ || |) | __/ | \ V / __/ | | | ||__|_, |/ ___|| _/ ___|| | | |__/ v0.4.4 | +------------------------------------------------------------------------+ https://github.com/mami-project/KeyServer

[ INFO ] - Configuration file correctly loaded. [ INFO ] - Connecting to database. [ WARN ] - Redis DB index not present or not valid. Using default index (0). [ INFO ] - Database connection established. [ INFO ] - Loading HTTPs server certificate. [ INFO ] - HTTPs server certificate correctly loaded. [ INFO ] - Starting HTTP server... [ WARN ] - There is no 'white list' field defined inside config file. Allowing KeyServer access to all IPs! [ INFO ] - KeyServer HTTPs server is listening. [ INFO ] - Monitoring KeyServer resources.

 ```

Note: You can launch an instance of this OpenSource KeyServer using an external configuration file with the optional input.

Clone this wiki locally