Skip to content

KeyServer Launch

Javier Gusano Martinez edited this page Jan 10, 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.3.3.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.2 | +------------------------------------------------------------------------+ https://github.com/mami-project/KeyServer

[ INFO ] - Configuration file correctly loaded. [ INFO ] - Connecting to database. [ INFO ] - Database connection established. [ INFO ] - Loading HTTPs server certificate. [ INFO ] - HTTPs server certificate correctly loaded. [ INFO ] - Starting HTTP server... [ WARN ] - There is no whitelist field defined inside config file. Allowing KeyServer access to all IPs! [ INFO ] - KeyServer now is ready...

 ```

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

Clone this wiki locally