I have a FreeNAS 11.1 Server and into a VM I added Rancher.
I have access to the Rancher GUI -
now I need to add a host, but when I do copy the code into my Terminal - the Problem is he request a Public IP Address which I do not have
so what did I miss when setting up?
have a nice day
this is the code i added
[rancher@rancher ~]$ sudo docker run -e CATTLE_HOST_LABELS=‘host4=’ --rm --privileged -v /var/run/docker.sock:/var/run/docker.sock -v /var/lib/rancher:/var/lib/rancher rancher/agent:v1.2.7 https: //10.147.42.130:8080/v1/scripts/49F7E6AE249F00566EB6:1483142400000:uowA1LfGFxULopYkFMVTlYdEko
INFO: Running Agent Registration Process, CATTLE_URL=https://10.147.42.130:8080/v1
INFO: Attempting to connect to: https ://10.147.42.130:8080/v1
ERROR: https://10.147.42.130:8080/v1 is not accessible (server certificate verification failed. CAfile: /etc/ssl/certs/ca-certificates.crt CRLfile: none)
how to solve this problem?
the Problem is solved!
the problem was to set the IP Address x.x.x.x:8080 to http and not to https
Have a nice day