Skip to content
This repository has been archived by the owner on Jan 2, 2020. It is now read-only.

Running user agent against a local LEAP provider

Tulio Casagrande edited this page May 15, 2017 · 3 revisions

Once you've setup the pixelated-user-agent and a local LEAP provider, you'll need to setup local certificates.

Configure host IP

Be sure you have already configured your /etc/hosts with the output provided by vagrant up. If you haven't done that yet, you can grab the output of:

vagrant ssh -c "cd /home/vagrant/leap/configuration && leap compile hosts"

It should be something like:

## environment 'production'
10.0.2.15 node1 node1.example.org node1.example.org example.org api.example.org nicknym.example.org

This output should be appended to your /etc/hosts file.

Running user-agent with local certificates

Now you can run the user agent against the local LEAP provider, passing the local certificate:

pixelated-user-agent --host 0.0.0.0 --multi-user --provider=example.org -lc leap_platform/files/ca/ca.crt