Hello, I am really a beginner and I'm getting crazy to have https working on my owncloud ...
Now I'm stuck with let's Encrypt that gives me errors and I really do not know where to start from.
Thanks for your assistance.
My domain is: miazza.no-ip.biz
I ran this command: certbot certonly --webroot
It produced this output:
root@debian:/etc/apache2/sites-available# certbot certonly --webroot
Saving debug log to /var/log/letsencrypt/letsencrypt.log
Plugins selected: Authenticator webroot, Installer None
Please enter in your domain name(s) (comma and/or space separated) (Enter 'c'
to cancel): miazza.no-ip.biz
Requesting a certificate for miazza.no-ip.biz
Performing the following challenges:
http-01 challenge for miazza.no-ip.biz
Input the webroot for miazza.no-ip.biz: (Enter 'c' to cancel): /var/www/html
Waiting for verification...
Challenge failed for domain miazza.no-ip.biz
http-01 challenge for miazza.no-ip.biz
Cleaning up challenges
Running post-hook command: service apache2 reload
Some challenges have failed.
IMPORTANT NOTES:
- The following errors were reported by the server:
Domain: miazza.no-ip.biz
Type: unauthorized
Detail: 130.25.219.220: Invalid response from
http://miazza.no-ip.biz/.well-known/acme-challenge/W4exmJehvW61B4vzY4Q2-07heRtkzGXSwb8qH7z8SRs:
400
To fix these errors, please make sure that your domain name was
entered correctly and the DNS A/AAAA record(s) for that domain
contain(s) the right IP address.
My web server is (include version):
Apache/2.4.53 (Debian)
The operating system my web server runs on is (include version):
Debian 11
Apache
My hosting provider, if applicable, is:
I can login to a root shell on my machine (yes or no, or I don't know):
yes
I'm using a control panel to manage my site (no, or provide the name and version of the control panel):
no
The version of my client is (e.g. output of certbot --version
or certbot-auto --version
if you're using Certbot):
certbot 1.12.0
The log file of the last try:
2022-04-24 19:17:44,092:DEBUG:certbot._internal.main:certbot version: 1.12.0
2022-04-24 19:17:44,096:DEBUG:certbot._internal.main:Location of certbot entry point: /usr/bin/certbot
2022-04-24 19:17:44,097:DEBUG:certbot._internal.main:Arguments: ['--webroot']
2022-04-24 19:17:44,100:DEBUG:certbot._internal.main:Discovered plugins: PluginsRegistry(PluginEntryPoint#manual,PluginEntryPoint#null,PluginEntryPoint#standalone,PluginEntryPoint#webroot)
2022-04-24 19:17:44,260:DEBUG:certbot._internal.log:Root logging level set at 20
2022-04-24 19:17:44,265:INFO:certbot._internal.log:Saving debug log to /var/log/letsencrypt/letsencrypt.log
2022-04-24 19:17:44,272:DEBUG:certbot._internal.plugins.selection:Requested authenticator webroot and installer None
2022-04-24 19:17:44,276:DEBUG:certbot._internal.plugins.selection:Single candidate plugin: * webroot
Description: Place files in webroot directory
Interfaces: IAuthenticator, IPlugin
Entry point: webroot = certbot._internal.plugins.webroot:Authenticator
Initialized: <certbot._internal.plugins.webroot.Authenticator object at 0x75a57bc8>
Prep: True
2022-04-24 19:17:44,281:DEBUG:certbot._internal.plugins.selection:Selected authenticator <certbot._internal.plugins.webroot.Authenticator object at 0x75a57bc8> and installer None
2022-04-24 19:17:44,283:INFO:certbot._internal.plugins.selection:Plugins selected: Authenticator webroot, Installer None
2022-04-24 19:17:44,466:DEBUG:certbot._internal.main:Picked account: <Account(RegistrationResource(body=Registration(key=None, contact=(), agreement=None, status=None, terms_of_service_agreed=None, only_return_existing=None, external_account_binding=None), uri='https://acme-v02.api.letsencrypt.org/acme/acct/513599947', new_authzr_uri=None, terms_of_service=None), eb11918b2471c3a54a1b1a07a7a4888a, Meta(creation_dt=datetime.datetime(2022, 4, 24, 13, 35, 33, tzinfo=<UTC>), creation_host='debian', register_to_eff=None))>
2022-04-24 19:17:44,475:DEBUG:acme.client:Sending GET request to https://acme-v02.api.letsencrypt.org/directory.
2022-04-24 19:17:44,498:DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1): acme-v02.api.letsencrypt.org:443
2022-04-24 19:17:45,021:DEBUG:urllib3.connectionpool:https://acme-v02.api.letsencrypt.org:443 "GET /directory HTTP/1.1" 200 658
2022-04-24 19:17:45,026:DEBUG:acme.client:Received response:
HTTP 200
Server: nginx