r6c

Results 11 comments of r6c

log ``` bash 2022/07/23 14:44:12 ----- 2022/07/23 14:44:12 [*.example.com example.com] ``` timeout is 15m, but still no any response in 30m.

``` bash {"level":"info","ts":1658569561.968958,"caller":"[email protected]/client.go:394","msg":"trying to solve challenge","identifier":"*.example.com","challenge_type":"dns-01","ca":"https://acme.zerossl.com/v2/DV90"} {"level":"info","ts":1658569564.0227418,"caller":"[email protected]/client.go:394","msg":"trying to solve challenge","identifier":"example.com","challenge_type":"dns-01","ca":"https://acme.zerossl.com/v2/DV90"} ``` after this log, it's pending a few hours.

```go package main import ( "awesomeProject/acme_issuer" "context" "crypto/ecdsa" "crypto/elliptic" "crypto/rand" "fmt" "github.com/libdns/cloudflare" "github.com/mholt/acmez" "github.com/mholt/acmez/acme" "go.uber.org/zap" "log" "time" ) func main() { domains := []string{"example.com", "*.example.com"} dnsProvider := &cloudflare.Provider{ APIToken: "Key",...

![Snipaste_2022-07-27_17-27-49](https://user-images.githubusercontent.com/45527749/181213159-1afb310e-b473-4cea-ae66-8a67b3fd2a2b.png)

If I use `domains := []string{"*.example.com"}` Log: ```bash ObtainCertificate... {"level":"info","ts":1658915211.612598,"caller":"[email protected]/client.go:394","msg":"trying to solve challenge","identifier":"*.example.com","challenge_type":"dns-01","ca":"https://acme.zerossl.com/v2/DV90"} {"level":"info","ts":1658915264.9595623,"caller":"[email protected]/client.go:164","msg":"validations succeeded; finalizing order","order":"https://acme.zerossl.com/v2/DV90/order/AYzAMUuxKdymhNRtrvTYw"} {"level":"info","ts":1658915317.5602314,"caller":"[email protected]/client.go:184","msg":"successfully downloaded available certificate chains","count":1,"first_url":"https://acme.zerossl.com/v2/DV90/cert/qtPr6rDKyKTLlkQUPTgsA"} ```

If I use `domains := []string{"example.com","aaa.example.com"}`, also okay Log ```bash ObtainCertificate... {"level":"info","ts":1658915614.185599,"caller":"[email protected]/client.go:394","msg":"trying to solve challenge","identifier":"example.com","challenge_type":"dns-01","ca":"https://acme.zerossl.com/v2/DV90"} {"level":"info","ts":1658915616.3788662,"caller":"[email protected]/client.go:394","msg":"trying to solve challenge","identifier":"aaa.example.com","challenge_type":"dns-01","ca":"https://acme.zerossl.com/v2/DV90"} {"level":"info","ts":1658915712.5194244,"caller":"[email protected]/client.go:164","msg":"validations succeeded; finalizing order","order":"https://acme.zerossl.com/v2/DV90/order/2q60LQpdNjoHlef5ZfGvA"} {"level":"info","ts":1658915760.238464,"caller":"[email protected]/client.go:184","msg":"successfully downloaded available certificate chains","count":1,"first_url":"https://acme.zerossl.com/v2/DV90/cert/qoX3XjHX9dqYymkTI7q9Q"} ```

`issuer.go` is copy from [certmagic](https://github.com/caddyserver/certmagic/blob/049e60556bde3cd434ee3619db746abcfd89ad9f/solvers.go) ```go package acme_issuer import ( "context" "fmt" "github.com/libdns/libdns" "github.com/mholt/acmez/acme" "sync" "time" ) // DNS01Solver is a type that makes libdns providers usable // as ACME...

Change Directory to `https://acme-v02.api.letsencrypt.org/directory`, still pending ```bash ObtainCertificate... {"level":"info","ts":1658977033.7748215,"caller":"[email protected]/client.go:394","msg":"trying to solve challenge","identifier":"*.example.com","challenge_type":"dns-01","ca":"https://acme-v02.api.letsencrypt.org/directory"} {"level":"info","ts":1658977035.9860744,"caller":"[email protected]/client.go:394","msg":"trying to solve challenge","identifier":"example.com","challenge_type":"dns-01","ca":"https://acme-v02.api.letsencrypt.org/directory"} ``` btw, I use acme.sh to obtain certificate from ZeroSSL for `*.example.com,example.com`, works fine....