I am new to the topic off SSL signing and I try to generate a certificate for my OwnCloud server hosted via a Raspberry Pi at home. I followed the instructions in the OwnCloud documentations but it keeps providing an error.
I used to create a certificate via openssl request before (including some Apache config changes) but since it did not work out properly, I switchted to the letsencrypt way of doing it.
I would really appreciate any help.
My domain is: huberconsulting.ddns.net
I ran this command: sudo /etc/letsencrypt/huberconsulting.ddns.net.sh
It produced this output:
Saving debug log to /var/log/letsencrypt/letsencrypt.log
Obtaining a new certificate
Performing the following challenges:
http-01 challenge for huberconsulting.ddns.net
Using the webroot path /var/www/letsencrypt for all unmatched domains.
Waiting for verification…
Cleaning up challenges
Running post-hook command: service apache2 reload
Failed authorization procedure. huberconsulting.ddns.net (http-01): urn:acme:error:connection :: The server could not connect to the client to verify the domain :: Fetching http://huberconsulting.ddns.net/.well-known/acme-challenge/_JN2T45j95bLg5FW1bMwpYMy5Tpjoi_vNHPlGAfp1BU: Error getting validation data
If you lose your account credentials, you can recover through
e-mails sent to firstname.lastname@example.org.
The following errors were reported by the server:
Error getting validation data
To fix these errors, please make sure that your domain name was
entered correctly and the DNS A record(s) for that domain
contain(s) the right IP address. Additionally, please check that
your computer has a publicly routable IP address and that no
firewalls are preventing the server from communicating with the
client. If you’re using the webroot plugin, you should also verify
that you are serving files from the webroot path you provided.
Your account credentials have been saved in your Certbot
configuration directory at /etc/letsencrypt. You should make a
secure backup of this folder now. This configuration directory will
also contain certificates and private keys obtained by Certbot so
making regular backups of this folder is ideal.
My web server is (include version): Don’t know
The operating system my web server runs on is (include version): Raspbian (latest version)
My hosting provider, if applicable, is: RaspberryPi at Home
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): Don’t know