Menu

#5021 Let's Encrypt .. .. request failed : Web-based validation failed :

1.850
open
nobody
5
2017-10-27
2017-09-29
No

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

Discussion

  • Jamie Cameron

    Jamie Cameron - 2017-09-30

    Seems like your system is missing the cryptography python module?

     
  • David Merinas

    David Merinas - 2017-10-26

    This is what I did to fix the error:
    pip install --upgrade pip
    pip install --upgrade cryptography

     
    • ghemit yasser

      ghemit yasser - 2017-12-07

      not works for me

       
  • Jamie Cameron

    Jamie Cameron - 2017-10-27

    That works ... also, there is a python2-cryptography package you can install from YUM.

     

Log in to post a comment.

MongoDB Logo MongoDB