How to fix certbot on nginx ubuntu

Certbot issue on ubuntu

We had this problem:

Certbot doesn't know how to automatically configure the web server on this system. However, it can still get 


We found out it had to do with a missing plugin for certbot, and we could not find the correct method to solve it. This could solve it

apt install python3-certbot-nginx

After this certbot ran fine again. Maybe you need to add this flag too:

 certbot --nginx -d yourdomain.tld

Created by Daniel on 11/22/2024

Copyright © DanielKnows.com 2019 - 2024 - Built with NuxtJS

Subscribe for Tech Tips!

Stay updated with the latest tech insights and tips. Subscribe now!

{}