jlesage / docker-nginx-proxy-manager

Docker container for Nginx Proxy Manager
MIT License
770 stars 173 forks source link

Cert generating error #216

Open bohemtucsok opened 2 years ago

bohemtucsok commented 2 years ago

Hello I got this message today, anyone's idea?

An unexpected error occurred: pkg_resources.ContextualVersionConflict: (cryptography 35.0.0 (/usr/lib/python3.8/site-packages), Requirement.parse('cryptography<4,>=2'), {'dns-lexicon'}) Ask for help or search for solutions at https://community.letsencrypt.org. See the logfile /tmp/tmpduqrbmig/log or re-run Certbot with -v for more details.

bohemtucsok commented 2 years ago

see if it helps

https://community.letsencrypt.org/t/cryptography-35-0-0-breaks-certbot/161813/5

jlesage commented 2 years ago

Are you using a Letsencrypt certificate with a DNS challenge ?

Try to run the following command:

docker exec <container name> mv /config/.local /config/.local.old

And then restart the container.

bohemtucsok commented 2 years ago

perfect !! :) I managed to solve this problem thanks for the help