Ich steh hier immer noch an:
pi@nextcloudpi:~ $ sudo -i
root@nextcloudpi:~# cd /etc/letsencrypt
root@nextcloudpi:/etc/letsencrypt# ./certbot-auto
Saving debug log to /var/log/letsencrypt/letsencrypt.log
Plugins selected: Authenticator apache, Installer apache
Which names would you like to activate HTTPS for?
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
1: xxx.ddns.net
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Select the appropriate numbers separated by commas and/or spaces, or leave input
blank to select all options shown (Enter 'c' to cancel):
Obtaining a new certificate
archive directory exists for xxx.ddns.net-0001
root@nextcloudpi:/etc/letsencrypt#
Und das zugehörige Log-File macht mich leider um nichts schlauer:
2019-04-08 18:45:46,058:DEBUG:certbot.main:certbot version: 0.33.1
2019-04-08 18:45:46,061:DEBUG:certbot.main:Arguments: []
2019-04-08 18:45:46,061:DEBUG:certbot.main:Discovered plugins: PluginsRegistry(PluginEntryPoint#apache,PluginEn$
2019-04-08 18:45:46,161:DEBUG:certbot.log:Root logging level set at 20
2019-04-08 18:45:46,165:INFO:certbot.log:Saving debug log to /var/log/letsencrypt/letsencrypt.log
2019-04-08 18:45:46,171:DEBUG:certbot.plugins.selection:Requested authenticator None and installer None
2019-04-08 18:45:46,543:DEBUG:certbot_apache.configurator:Apache version is 2.4.25
2019-04-08 18:45:48,153:DEBUG:certbot.plugins.disco:No installation (PluginEntryPoint#nginx): Could not find a $
Traceback (most recent call last):
File "/opt/eff.org/certbot/venv/local/lib/python2.7/site-packages/certbot/plugins/disco.py", line 132, in pre$
self._initialized.prepare()
File "/opt/eff.org/certbot/venv/local/lib/python2.7/site-packages/certbot_nginx/configurator.py", line 143, i$
"Could not find a usable 'nginx' binary. Ensure nginx exists, "
NoInstallationError: Could not find a usable 'nginx' binary. Ensure nginx exists, the binary is executable, and$
2019-04-08 18:45:48,161:DEBUG:certbot.plugins.selection:Single candidate plugin: * apache
Description: Apache Web Server plugin
Interfaces: IAuthenticator, IInstaller, IPlugin
Entry point: apache = certbot_apache.entrypoint:ENTRYPOINT
Initialized: <certbot_apache.override_debian.DebianConfigurator object at 0x75ad76f0>
Prep: True
2019-04-08 18:45:48,165:DEBUG:certbot.plugins.selection:Selected authenticator <certbot_apache.override_debian.$
2019-04-08 18:45:48,166:INFO:certbot.plugins.selection:Plugins selected: Authenticator apache, Installer apache
2019-04-08 18:45:48,190:DEBUG:certbot.main:Picked account: <Account(RegistrationResource(body=Registration(stat$
2019-04-08 18:45:48,196:DEBUG:acme.client:Sending GET request to https://acme-v02.api.letsencrypt.org/directory.
2019-04-08 18:45:48,205:DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1): acme-v02.api.letsencryp$
2019-04-08 18:45:48,572:DEBUG:urllib3.connectionpool:https://acme-v02.api.letsencrypt.org:443 "GET /directory H$
2019-04-08 18:45:48,575:DEBUG:acme.client:Received response:
HTTP 200
Server: nginx
Content-Type: application/json
Content-Length: 658
X-Frame-Options: DENY
Strict-Transport-Security: max-age=604800
Expires: Mon, 08 Apr 2019 16:45:48 GMT
Cache-Control: max-age=0, no-cache, no-store
Pragma: no-cache
Date: Mon, 08 Apr 2019 16:45:48 GMT
Connection: keep-alive
{
"keyChange": "https://acme-v02.api.letsencrypt.org/acme/key-change",
"meta": {
"caaIdentities": [
"letsencrypt.org"
],
"termsOfService": "https://letsencrypt.org/documents/LE-SA-v1.2-November-15-2017.pdf",
"website": "https://letsencrypt.org"
},
"newAccount": "https://acme-v02.api.letsencrypt.org/acme/new-acct",
"newNonce": "https://acme-v02.api.letsencrypt.org/acme/new-nonce",
"newOrder": "https://acme-v02.api.letsencrypt.org/acme/new-order",
"revokeCert": "https://acme-v02.api.letsencrypt.org/acme/revoke-cert",
"z4LYyfzWYAg": "https://community.letsencrypt.org/t/adding-random-entries-to-the-directory/33417"
}
2019-04-08 18:46:15,509:DEBUG:certbot.cert_manager:Renewal conf file /etc/letsencrypt/renewal/xxx.ddns.n$
2019-04-08 18:46:15,519:DEBUG:certbot.cert_manager:Traceback was:
Traceback (most recent call last):
File "/opt/eff.org/certbot/venv/local/lib/python2.7/site-packages/certbot/cert_manager.py", line 384, in _sea$
candidate_lineage = storage.RenewableCert(renewal_file, cli_config)
File "/opt/eff.org/certbot/venv/local/lib/python2.7/site-packages/certbot/storage.py", line 443, in __init__
"file reference".format(self.configfile))
CertStorageError: renewal config file {} is missing a required file reference
2019-04-08 18:46:15,520:INFO:certbot.main:Obtaining a new certificate
2019-04-08 18:46:17,189:DEBUG:certbot.crypto_util:Generating key (2048 bits): /etc/letsencrypt/keys/0007_key-ce$
2019-04-08 18:46:17,207:DEBUG:certbot.crypto_util:Creating CSR: /etc/letsencrypt/csr/0007_csr-certbot.pem
2019-04-08 18:46:17,211:DEBUG:acme.client:Requesting fresh nonce
LG
SMichel