I have managed to get Letsencrypt and Boulder setup locally.
The machine is a ubuntu 16.04 vagrant machine, and Boulder is running in docker within vagrant.
I have ran the test suite on boulder and nothing stands out, and I can access the ubuntu server normally.
I have determined that the IP address of the docker container is 172.17.0.5, and it is bound to port 4000.
When trying to run a command such as this
it manages these states:
Saving debug log to /var/log/letsencrypt/letsencrypt.log
Starting new HTTP connection (1): 172.17.0.5
Obtaining a new certificate
Performing the following challenges:
http-01 challenge for testing.dev.mydomain.com
Waiting for verification…
Cleaning up challenges
It then says:
Failed authorization procedure. testing.dev.mydomain.com (http-01): urn:acme:error:connection :: The server could not connect to the client to verify the domain :: Could not connect to testing.dev.mydomain.com:5002
I was under the impression that boulder could be used to generate certificates locally, without the need for DNS authentication (due to being behind a proxy).
Was this incorrect?