更新 cmd/derper/cert.go
CI / cross (amd64, freebsd) (push) Failing after 13s
Details
CI / cross (arm, 7, linux) (push) Failing after 12s
Details
CI / ios (push) Successful in 4m9s
Details
CI / test (386) (push) Failing after 13s
Details
CI / cross (386, linux) (push) Failing after 9s
Details
CI / cross (amd64, openbsd) (push) Failing after 10s
Details
CI / cross (arm64, darwin) (push) Failing after 19s
Details
CI / android (push) Failing after 17m9s
Details
CI / wasm (push) Failing after 46s
Details
CI / test (-race, amd64) (push) Failing after 2m4s
Details
CI / fuzz (push) Has been skipped
Details
CI / tailscale_go (push) Failing after 2m53s
Details
CI / cross (amd64, windows) (push) Failing after 12s
Details
CI / cross (arm64, linux) (push) Failing after 14s
Details
CI / cross (arm64, windows) (push) Failing after 12s
Details
CI / windows (push) Has been cancelled
Details
CI / vm (push) Has been cancelled
Details
CI / cross (amd64, darwin) (push) Failing after 15s
Details
CI / cross (arm, 5, linux) (push) Failing after 10s
Details
CI / cross (loong64, linux) (push) Failing after 18s
Details
CI / depaware (push) Has started running
Details
CI / go_generate (push) Has started running
Details
CI / go_mod_tidy (push) Has been cancelled
Details
CI / licenses (push) Has been cancelled
Details
CI / staticcheck (386, windows) (push) Has been cancelled
Details
CI / staticcheck (amd64, darwin) (push) Has been cancelled
Details
CI / staticcheck (amd64, linux) (push) Has been cancelled
Details
CI / staticcheck (amd64, windows) (push) Has been cancelled
Details
CI / notify_slack (push) Has been cancelled
Details
CI / check_mergeability (push) Has been cancelled
Details
CI / cross (amd64, freebsd) (push) Failing after 13s
Details
CI / cross (arm, 7, linux) (push) Failing after 12s
Details
CI / ios (push) Successful in 4m9s
Details
CI / test (386) (push) Failing after 13s
Details
CI / cross (386, linux) (push) Failing after 9s
Details
CI / cross (amd64, openbsd) (push) Failing after 10s
Details
CI / cross (arm64, darwin) (push) Failing after 19s
Details
CI / android (push) Failing after 17m9s
Details
CI / wasm (push) Failing after 46s
Details
CI / test (-race, amd64) (push) Failing after 2m4s
Details
CI / fuzz (push) Has been skipped
Details
CI / tailscale_go (push) Failing after 2m53s
Details
CI / cross (amd64, windows) (push) Failing after 12s
Details
CI / cross (arm64, linux) (push) Failing after 14s
Details
CI / cross (arm64, windows) (push) Failing after 12s
Details
CI / windows (push) Has been cancelled
Details
CI / vm (push) Has been cancelled
Details
CI / cross (amd64, darwin) (push) Failing after 15s
Details
CI / cross (arm, 5, linux) (push) Failing after 10s
Details
CI / cross (loong64, linux) (push) Failing after 18s
Details
CI / depaware (push) Has started running
Details
CI / go_generate (push) Has started running
Details
CI / go_mod_tidy (push) Has been cancelled
Details
CI / licenses (push) Has been cancelled
Details
CI / staticcheck (386, windows) (push) Has been cancelled
Details
CI / staticcheck (amd64, darwin) (push) Has been cancelled
Details
CI / staticcheck (amd64, linux) (push) Has been cancelled
Details
CI / staticcheck (amd64, windows) (push) Has been cancelled
Details
CI / notify_slack (push) Has been cancelled
Details
CI / check_mergeability (push) Has been cancelled
Details
parent
ffaa6be8a4
commit
1bc9e46c17
|
@ -71,9 +71,9 @@ func NewManualCertManager(certdir, hostname string) (certProvider, error) {
|
|||
if err != nil {
|
||||
return nil, fmt.Errorf("can not load cert: %w", err)
|
||||
}
|
||||
if err := x509Cert.VerifyHostname(hostname); err != nil {
|
||||
return nil, fmt.Errorf("cert invalid for hostname %q: %w", hostname, err)
|
||||
}
|
||||
// if err := x509Cert.VerifyHostname(hostname); err != nil {
|
||||
// return nil, fmt.Errorf("cert invalid for hostname %q: %w", hostname, err)
|
||||
// }
|
||||
return &manualCertManager{cert: &cert, hostname: hostname}, nil
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue