-
I downloaded the windows amd64 binary, but how do I use it? I cannot find documentation on this anywhere. It's not the same as Linux. In Windows, we can't start the command with the DNS API token or key. I don't see a way to run this in command prompt or powershell. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 5 replies
-
Hello, You have to download and unzip the archive: You will have the binary ( After you just have to follow the documentation https://go-acme.github.io/lego/usage/cli/ to run the binary ( |
Beta Was this translation helpful? Give feedback.
You have to set the environment variables (they are not CLI flags) with your credentials.
Then you cannot do
-CLOUDFLARE_DNS_API_TOKEN=xxx
.You have to remove
\
at the end of the lines.another way:
NOTE: I recommend using something better than the default Windows terminal (like Git BASH or WSL)