Dear Community,
I'm running :
Operating system CentOS Linux 7.4.1708
Webmin version 1.852
Usermin version 1.720
Virtualmin version 6.00
Theme version Authentic Theme 18.49-9
since an upgrade of the system that is fully up to date (Package updates All installed packages are up to date ) the Let's encrypt certificate request Certificate outputs an error.
I'm using the Virtualmin interface : Virtualmin > server configuration > manage SSL certificate > Let’s Encrypt
the error is:
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 <module>
from pkg_resources import load_entry_point
File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 3011, in <module>
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</module></module>
DNS-based validation failed :
Traceback (most recent call last):
File "/bin/letsencrypt", line 5, in <module>
from pkg_resources import load_entry_point
File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 3011, in <module>
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</module></module>
Does anyone know what this problem could come from ?
Thanks
Marc
Seems like your system is missing the
cryptographypython module?This is what I did to fix the error:
pip install --upgrade pip
pip install --upgrade cryptography
not works for me
That works ... also, there is a python2-cryptography package you can install from YUM.