since th elast upgrade of the server that is uptodate will all is module now, Letsencrypt is no more working and showing an error when trying to create a certificate.
this is Webmin Virtualmin 6.00.gpl that is being used on a CentOS Linux 7.4.1708
here are the errors:
Requesting a certificate for dsd.fr, www.dsd.fr from Let’s Encrypt …
… request failed : Web-based validation failed :
Traceback (most recent call last):
File “/bin/letsencrypt”, line 5, in
from pkg_resources import load_entry_point
File “/usr/lib/python2.7/site-packages/pkg_resources.py”, line 3011, in
parse_requirements(requires), Environment()
File “/usr/lib/python2.7/site-packages/pkg_resources.py”, line 626, in resolve
raise DistributionNotFound(req)
pkg_resources.DistributionNotFound: cryptography>=1.2
DNS-based validation failed :
Traceback (most recent call last):
File “/bin/letsencrypt”, line 5, in
from pkg_resources import load_entry_point
File “/usr/lib/python2.7/site-packages/pkg_resources.py”, line 3011, in
parse_requirements(requires), Environment()
File “/usr/lib/python2.7/site-packages/pkg_resources.py”, line 626, in resolve
raise DistributionNotFound(req)
pkg_resources.DistributionNotFound: cryptography>=1.2
I don’t enter any command, I just click on the Request Certificate button in the Webmin page:
Virtualmin > server configuration > manage SSL certificate > Let’s Encrypt
this was also outlined with the correct path in the article you shared
ISPconfig released a fix script for their code so as suggested before now that you have all the facts go talk to webmin about what you are experiencing
A) Seeing if they already have a fix
B) Seeing if they have any recommendations.
It's not that I am trying to blow off. I am trying to get you to spend your time in a place where can best assist you.
I just solved the problem. Certbot is using a lot of dependencies and it seems the upgrade manager of Webmin/Virtualmin didn’t keep everything up to date despite what it was displaying.
I did only update the server manually with the command : yum -y update
It did upgrade and replace a few dependencies
Installed:
python-gobject-base.x86_64 0:3.22.0-1.el7 python2-cryptography.x86_64 0:1.7.2-1.el7 python2-psutil.x86_64 0:2.2.1-2.el7
python2-pyasn1.noarch 0:0.1.9-7.el7