anvilresearch / connect

A modern authorization server built to authenticate your users and protect your APIs
http://anvil.io
MIT License
361 stars 85 forks source link

Trouble when registering the CLI client #364

Open NicolasBonduel opened 6 years ago

NicolasBonduel commented 6 years ago

Hey guys,

I'm trying to setup a Connect server on my machine to try it out, however I'm stuck when it comes to do a nvl setup. Here is my setup: screenshot from 2017-08-18 14-48-27

Here is what I did so far:

> mkdir anvil2 && cd anvil2
> nvl init
> gedit nginx/Dockerfile
// I changed the version of nginx from 1.8.1-r0 to 1.8.1-r1, see here why: https://github.com/anvilresearch/connect/issues/316#issuecomment-322304403
> cd connect
> sudo docker-compose up
> gedit /etc/hosts
// I updated my host file route connect.example.com to the IP of the docker container that runs nginx
> nvl setup

I'm using node v7.10, npm v4.2.0 and anvil-connect-cli v0.1.17

Am I trying to use the wrong certificate?