I seem to get the following problem when trying to create the letsencrypt docker. Am I missing something?
Unraid Docker log:
[cont-init.d] 10-adduser: exited 0.
[cont-init.d] 20-config: executing...
[cont-init.d] 20-config: exited 0.
[cont-init.d] 30-keygen: executing...
using keys found in /config/keys
[cont-init.d] 30-keygen: exited 0.
[cont-init.d] 50-config: executing...
Backwards compatibility check. . .
2048 bit DH parameters present
SUBDOMAINS entered, processing
Only subdomains, no URL in cert
Sub-domains processed are: -d ********
E-mail address entered: ********
Generating new certificate
Saving debug log to /var/log/letsencrypt/letsencrypt.log
Plugins selected: Authenticator standalone, Installer None
An unexpected error occurred:
ValueError: Requesting acme-v01.api.letsencrypt.org/directory: Host is unreachable
Please see the logfiles in /var/log/letsencrypt for more details.
ERROR: Cert does not exist! Please see the validation error above. The issue may be due to incorrect dns or port forwarding settings. Please fix your settings and recreate the container
var/log/letsencrypt/letsencrypt.log:
root@c919d7ca660d:/$ cat /var/log/letsencrypt/letsencrypt.log
2018-02-14 10:06:53,961:DEBUG:certbot.main:certbot version: 0.21.1
2018-02-14 10:06:53,961:DEBUG:certbot.main:Arguments: ['--renew-by-default', '--non-interactive', '--standalone', '--preferred-challenges', 'http', '--rsa-key-size', '4096', '-m', '******', '--no-eff-email', '--agree-tos', '-d', '******']
2018-02-14 10:06:53,961:DEBUG:certbot.main:Discovered plugins: PluginsRegistry(PluginEntryPoint#certbot-route53:auth,PluginEntryPoint#dns-cloudflare,PluginEntryPoint#dns-cloudxns,PluginEntryPoint#dns-digitalocean,PluginEntryPoint#dns-dnsimple,PluginEntryPoint#dns-dnsmadeeasy,PluginEntryPoint#dns-google,PluginEntryPoint#dns-luadns,PluginEntryPoint#dns-nsone,PluginEntryPoint#dns-rfc2136,PluginEntryPoint#dns-route53,PluginEntryPoint#manual,PluginEntryPoint#null,PluginEntryPoint#standalone,PluginEntryPoint#webroot)
2018-02-14 10:06:53,976:DEBUG:certbot.log:Root logging level set at 20
2018-02-14 10:06:53,977:INFO:certbot.log:Saving debug log to /var/log/letsencrypt/letsencrypt.log
2018-02-14 10:06:53,977:DEBUG:certbot.plugins.selection:Requested authenticator standalone and installer None
2018-02-14 10:06:54,053:DEBUG:certbot.plugins.selection:Single candidate plugin: * standalone
Description: Spin up a temporary webserver
Interfaces: IAuthenticator, IPlugin
Entry point: standalone = certbot.plugins.standalone:Authenticator
Initialized: <certbot.plugins.standalone.Authenticator object at 0x1550cfbb8310>
Prep: True
2018-02-14 10:06:54,054:DEBUG:certbot.plugins.selection:Selected authenticator <certbot.plugins.standalone.Authenticator object at 0x1550cfbb8310> and installer None
2018-02-14 10:06:54,054:INFO:certbot.plugins.selection:Plugins selected: Authenticator standalone, Installer None
2018-02-14 10:06:55,343:DEBUG:acme.client:Sending GET request to https://acme-v01.api.letsencrypt.org/directory.
2018-02-14 10:06:55,346:DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1): acme-v01.api.letsencrypt.org
2018-02-14 10:06:58,465:DEBUG:certbot.log:Exiting abnormally:
Traceback (most recent call last):
File "/usr/bin/certbot", line 11, in <module>
sys.exit(main())
File "/usr/lib/python2.7/site-packages/certbot/main.py", line 1240, in main
return config.func(config, plugins)
File "/usr/lib/python2.7/site-packages/certbot/main.py", line 1104, in certonly
le_client = _init_le_client(config, auth, installer)
File "/usr/lib/python2.7/site-packages/certbot/main.py", line 632, in _init_le_client
acc, acme = _determine_account(config)
File "/usr/lib/python2.7/site-packages/certbot/main.py", line 511, in _determine_account
config, account_storage, tos_cb=_tos_cb)
File "/usr/lib/python2.7/site-packages/certbot/client.py", line 163, in register
acme = acme_from_config_key(config, key)
File "/usr/lib/python2.7/site-packages/certbot/client.py", line 45, in acme_from_config_key
return acme_client.Client(config.server, key=key, net=net)
File "/usr/lib/python2.7/site-packages/acme/client.py", line 72, in __init__
self.net.get(directory).json())
File "/usr/lib/python2.7/site-packages/acme/client.py", line 681, in get
self._send_request('GET', url, **kwargs), content_type=content_type)
File "/usr/lib/python2.7/site-packages/acme/client.py", line 653, in _send_request
raise ValueError("Requesting {0}{1}:{2}".format(host, path, err_msg))
ValueError: Requesting acme-v01.api.letsencrypt.org/directory: Host is unreachable
2018-02-14 10:06:58,465:ERROR:certbot.log:An unexpected error occurred: