Tutorial https Letsencrypt using Nginx and Certbot on Windows Server 2025



(Download-Install) Python & Certbot

https://www.python.org/downloads/windows/

https://github.com/certbot/certbot/releases

https://pypi.org/project/certbot-nginx/


Check List Certificates https

$ certbot certificates


Remove Certificate https

$ certbot remove --cert-name subdomain.domain.com


Install Certificate https

Create folder ".well-known/acme-challenge" inside your www application path.

Create new file "TestFile.txt" and paste "Hello world." into it. 

Open CMD run as administrator

$ cd C:\Wnmp\nginx-bins\default\www\my-web-project

$ certbot certonly --webroot -v


Renew Certificate https

$ certbot renew --dry-run


Source :

https://certbot.eff.org/instructions?ws=nginx&os=windows

Comments