Let`s encrypt ssl error

Hi

I am trying to install ssl in my domain, and I have followed the instructions provided by the unbourn user at this link: https://www.virtualmin.com/node/59163.

The problem is that when I click on request certificate I receive the following error:

equesting a certificate for lockesoft.ovh, www.lockesoft.ovh from Let’s Encrypt …
… request failed : Web-based validation failed :

Bootstrapping dependencies for Debian-based OSes… (you can skip this with --no-bootstrap)
Hit http://security.debian.org jessie/updates InRelease
Ign http://debian.mirrors.ovh.net jessie InRelease
Hit http://software.virtualmin.com virtualmin-jessie InRelease
Hit http://software.virtualmin.com virtualmin-universal InRelease
Get:1 http://debian.mirrors.ovh.net jessie-updates InRelease [16.3 kB]
Get:2 http://debian.mirrors.ovh.net jessie Release.gpg [1652 B]
Get:3 http://debian.mirrors.ovh.net jessie Release [77.3 kB]
Get:4 https://packages.sury.org jessie InRelease [6747 B]
Get:5 http://security.debian.org jessie/updates/main Sources [349 kB]
Hit http://software.virtualmin.com virtualmin-jessie/main amd64 Packages
Get:6 http://debian.mirrors.ovh.net jessie-updates/main Sources [20 B]
Get:7 http://security.debian.org jessie/updates/main amd64 Packages [769 kB]
Hit http://software.virtualmin.com virtualmin-universal/main amd64 Packages
Get:8 http://debian.mirrors.ovh.net jessie-updates/main amd64 Packages [20 B]
Get:9 http://security.debian.org jessie/updates/main Translation-en [394 kB]
Get:10 http://debian.mirrors.ovh.net jessie-updates/main Translation-en [14 B]
Err https://packages.sury.org jessie InRelease

Ign http://software.virtualmin.com virtualmin-jessie/main Translation-en
Ign http://software.virtualmin.com virtualmin-universal/main Translation-en
Get:11 http://debian.mirrors.ovh.net jessie/main Sources [7063 kB]
Get:12 http://debian.mirrors.ovh.net jessie/main amd64 Packages [6818 kB]
Get:13 http://debian.mirrors.ovh.net jessie/main Translation-en [4581 kB]
Fetched 102 kB in 7s (13.1 kB/s)
Reading package lists…
W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: https://packages.sury.org jessie InRelease: The following signatures couldn’t be verified because the public key is not available: NO_PUBKEY B188E2B695BD4743

W: Failed to fetch https://packages.sury.org/php/dists/jessie/InRelease

W: Some index files failed to download. They have been ignored, or old ones used instead.
Reading package lists…
Building dependency tree…
Reading state information…
gcc is already the newest version.
gcc set to manually installed.
python is already the newest version.
python set to manually installed.
ca-certificates is already the newest version.
The following packages were automatically installed and are no longer required:
libuuid-perl linux-image-3.16.0-4-amd64
Use ‘apt-get autoremove’ to remove them.
The following extra packages will be installed:
libexpat1-dev libpython-dev libpython2.7 libpython2.7-dev python-chardet-whl
python-colorama-whl python-distlib-whl python-html5lib-whl python-pip-whl
python-requests-whl python-setuptools-whl python-six-whl python-urllib3-whl
python2.7-dev python3-pkg-resources python3-virtualenv zlib1g-dev
Suggested packages:
augeas-doc augeas-tools python3-setuptools
Recommended packages:
libssl-doc
The following NEW packages will be installed:
augeas-lenses libaugeas0 libexpat1-dev libffi-dev libpython-dev libpython2.7
libpython2.7-dev libssl-dev python-chardet-whl python-colorama-whl
python-dev python-distlib-whl python-html5lib-whl python-pip-whl
python-requests-whl python-setuptools-whl python-six-whl python-urllib3-whl
python-virtualenv python2.7-dev python3-pkg-resources python3-virtualenv
virtualenv zlib1g-dev
The following packages will be upgraded:
openssl
1 upgraded, 24 newly installed, 0 to remove and 1 not upgraded.
Need to get 2239 kB/24.6 MB of archives.
After this operation, 47.5 MB of additional disk space will be used.
Get:1 https://packages.sury.org/php/ jessie/main libssl-dev amd64 1.0.2l-1+0~20171112082041.3+jessie~1.gbp75a296 [1552 kB]
Err https://packages.sury.org/php/ jessie/main libssl-dev amd64 1.0.2l-1+0~20171112082041.3+jessie~1.gbp75a296
HttpError404
Get:2 https://packages.sury.org/php/ jessie/main openssl amd64 1.0.2l-1+0~20171112082041.3+jessie~1.gbp75a296 [687 kB]
Err https://packages.sury.org/php/ jessie/main openssl amd64 1.0.2l-1+0~20171112082041.3+jessie~1.gbp75a296
HttpError404
E: Failed to fetch https://packages.sury.org/php/pool/main/o/openssl/libssl-dev_1.0.2l-1+0~20171112082041.3+jessie~1.gbp75a296_amd64.deb HttpError404

E: Failed to fetch https://packages.sury.org/php/pool/main/o/openssl/openssl_1.0.2l-1+0~20171112082041.3+jessie~1.gbp75a296_amd64.deb HttpError404

E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
, DNS-based validation failed : Neither DNS zone lockesoft.ovh or any of its sub-domains exist on this system


I have virtualmin installed on a vps with debian 8.

Thanks in advance

very old os (better upgrade to debian 9 and/or debian10), and using dns validation with old program versions might not work well. what does letsencrypt.log say?

and those apt messages in between (other issue unrelated to LE), need some fixing (add missing apt keys).

Thanks for your time

I can’t find the log of letsencrypt.

probably /var/log/letsencrypt/letsencrypt.log (?)

In the end I have solved it, I have seen that it puts this error:

W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: https://packages.sury.org jessie InRelease: The following signatures couldn’t be verified because the public key is not available: NO_PUBKEY B188E2B695BD4743
And I have fixed it with the following command: sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys B188E2B695BD4743
Thank you very much for your time!

This topic was automatically closed 4 days after the last reply. New replies are no longer allowed.