go-acme / lego

Let's Encrypt/ACME client and library written in Go
https://go-acme.github.io/lego/
MIT License
8.01k stars 1.02k forks source link

websupport: fails on windows #2273

Closed r0b0 closed 1 month ago

r0b0 commented 1 month ago

Welcome

What did you expect to see?

Use the websupport dns provider on a windows machine where golang is not installed

What did you see instead?

The tool fails with unknown time zone GMT error

How do you use lego?

Binary

Reproduction steps

Run lego.exe on windows with --dns websupport

Probably only reproducible on a machine without golang installed

Version of lego

git master:  d52f7b0b5829e3df87bbc71fbfba9897644ef7fa

Logs

```console C:\Users\user\Documents>C:\Users\user\Documents\lego.exe --email "user@example.com" --dns websupport --accept-tos=true --domains example.com run 2024/09/16 09:26:14 [INFO] [example.com] acme: Obtaining bundled SAN certificate 2024/09/16 09:26:15 [INFO] [example.com] AuthURL: https://acme-v02.api.letsencrypt.org/acme/authz-v3/404285062436 2024/09/16 09:26:15 [INFO] [example.com] acme: Could not find solver for: tls-alpn-01 2024/09/16 09:26:15 [INFO] [example.com] acme: Could not find solver for: http-01 2024/09/16 09:26:15 [INFO] [example.com] acme: use dns-01 solver 2024/09/16 09:26:15 [INFO] [example.com] acme: Preparing to solve DNS-01 2024/09/16 09:26:15 [INFO] [example.com] acme: Cleaning DNS-01 challenge 2024/09/16 09:26:15 [WARN] [example.com] acme: cleaning up failed: websupport: unknown record ID for '_acme-challenge.example.com.' '68U0Zd4oywRXWrQQdpmiP_Y2JhKG8DXPxxw1cC2TxOc' 2024/09/16 09:26:15 [INFO] Deactivating auth: https://acme-v02.api.letsencrypt.org/acme/authz-v3/404285062436 2024/09/16 09:26:15 Could not obtain certificates: error: one or more domains had a problem: [example.com] [example.com] acme: error presenting token: websupport: add record: time location: unknown time zone GMT ```

Go environment (if applicable)

No response

r0b0 commented 1 month ago

thank you @ldez - the websupport provider now works on windows