Hi!
I’m trying to use let’s encrypt client on a CentOS 6.5 host with VestaCP (VestaCP sets up virtual hosts etc and SSL via a NginX proxy infront of Apache).
I have a self-signed certificate on https://www.richardhagen.no wich I think is causing some problems (without enabling SSL I get a connection refused from letsencrypt-auto though)…
Anyway, if anyone can help, this is my letsencrypt log-file:
2015-11-04 13:01:59,561:DEBUG:letsencrypt.cli:Root logging level set at 20
2015-11-04 13:01:59,564:INFO:letsencrypt.cli:Saving debug log to /var/log/letsencrypt/letsencrypt.log
2015-11-04 13:01:59,583:DEBUG:letsencrypt.cli:letsencrypt version: 0.0.0.dev20151104
2015-11-04 13:01:59,584:DEBUG:letsencrypt.cli:Arguments: ['--agree-dev-preview', '--server', 'https://www.richardhagen.no', '--verbose']
2015-11-04 13:01:59,586:DEBUG:letsencrypt.cli:Discovered plugins: PluginsRegistry(PluginEntryPoint#apache,PluginEntryPoint#webroot,PluginEntryPoint#null,PluginEntryPoint#manual,PluginEntryPoint#standalone)
2015-11-04 13:01:59,618:DEBUG:letsencrypt.cli:Requested authenticator None and installer None
2015-11-04 13:01:59,755:DEBUG:letsencrypt.plugins.disco:No installation (PluginEntryPoint#apache):
Traceback (most recent call last):
File "/root/.local/share/letsencrypt/lib/python2.7/site-packages/letsencrypt/plugins/disco.py", line 103, in prepare
self._initialized.prepare()
File "/root/.local/share/letsencrypt/lib/python2.7/site-packages/letsencrypt_apache/configurator.py", line 145, in prepare
raise errors.NoInstallationError
NoInstallationError
2015-11-04 13:01:59,756:DEBUG:letsencrypt.plugins.disco:Other error:(PluginEntryPoint#webroot): --webroot-path must be set
Traceback (most recent call last):
File "/root/.local/share/letsencrypt/lib/python2.7/site-packages/letsencrypt/plugins/disco.py", line 103, in prepare
self._initialized.prepare()
File "/root/.local/share/letsencrypt/lib/python2.7/site-packages/letsencrypt/plugins/webroot.py", line 89, in prepare
self.option_name("path")))
PluginError: --webroot-path must be set
2015-11-04 13:01:59,756:DEBUG:letsencrypt.display.ops:Single candidate plugin: * standalone
Description: Automatically use a temporary webserver
Interfaces: IAuthenticator, IPlugin
Entry point: standalone = letsencrypt.plugins.standalone:Authenticator
Initialized: <letsencrypt.plugins.standalone.Authenticator object at 0x7f461e7eafd0>
Prep: True
2015-11-04 13:01:59,757:DEBUG:letsencrypt.cli:Selected authenticator <letsencrypt.plugins.standalone.Authenticator object at 0x7f461e7eafd0> and installer None
2015-11-04 13:02:05,228:DEBUG:root:Sending GET request to https://www.richardhagen.no. args: (), kwargs: {}
2015-11-04 13:02:05,234:INFO:requests.packages.urllib3.connectionpool:Starting new HTTPS connection (1): www.richardhagen.no
2015-11-04 13:02:05,323:DEBUG:letsencrypt.cli:Exiting abnormally:
Traceback (most recent call last):
File "/root/.local/share/letsencrypt/bin/letsencrypt", line 11, in <module>
sys.exit(main())
File "/root/.local/share/letsencrypt/lib/python2.7/site-packages/letsencrypt/cli.py", line 1138, in main
return args.func(args, config, plugins)
File "/root/.local/share/letsencrypt/lib/python2.7/site-packages/letsencrypt/cli.py", line 479, in obtaincert
le_client = _init_le_client(args, config, authenticator, installer)
File "/root/.local/share/letsencrypt/lib/python2.7/site-packages/letsencrypt/cli.py", line 174, in _init_le_client
acc, acme = _determine_account(args, config)
File "/root/.local/share/letsencrypt/lib/python2.7/site-packages/letsencrypt/cli.py", line 161, in _determine_account
config, account_storage, tos_cb=_tos_cb)
File "/root/.local/share/letsencrypt/lib/python2.7/site-packages/letsencrypt/client.py", line 87, in register
acme = _acme_from_config_key(config, key)
File "/root/.local/share/letsencrypt/lib/python2.7/site-packages/letsencrypt/client.py", line 35, in _acme_from_config_key
verify_ssl=(not config.no_verify_ssl))
File "/root/.local/share/letsencrypt/lib/python2.7/site-packages/acme/client.py", line 60, in __init__
self.net.get(directory).json())
File "/root/.local/share/letsencrypt/lib/python2.7/site-packages/acme/client.py", line 599, in get
self._send_request('GET', url, **kwargs), content_type=content_type)
File "/root/.local/share/letsencrypt/lib/python2.7/site-packages/acme/client.py", line 581, in _send_request
response = requests.request(method, url, *args, **kwargs)
File "/root/.local/share/letsencrypt/lib/python2.7/site-packages/requests/api.py", line 50, in request
response = session.request(method=method, url=url, **kwargs)
File "/root/.local/share/letsencrypt/lib/python2.7/site-packages/requests/sessions.py", line 468, in request
resp = self.send(prep, **send_kwargs)
File "/root/.local/share/letsencrypt/lib/python2.7/site-packages/requests/sessions.py", line 576, in send
r = adapter.send(request, **kwargs)
File "/root/.local/share/letsencrypt/lib/python2.7/site-packages/requests/adapters.py", line 433, in send
raise SSLError(e, request=request)
SSLError: ("bad handshake: Error([('SSL routines', 'SSL3_GET_SERVER_CERTIFICATE', 'certificate verify failed')],)",)