cloudflare / cloudflare/cloudflared

Cannot get cloudflared to work with a self signed cert

Open
#360 2 comments 3 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
15.6k
Forks
1.4k
PR merge metrics
No merged PRs in 30d

Description

I'm running `cloudflare/cloudflared:2021.4.0` with this configuration:

```
tunnel: web

no-autoupdate: true
metrics: 0.0.0.0:8099
no-tls-verify: true

ingress:
- hostname: unifi.redacted.com
service: https://unifi:8443
originRequest:
noTLSVerify: true
```

Neither way of specifying `no-tls-verify` works:

```
root@nas:/zfs/docker/appdata# docker logs -f cloudflared-f0da00cd-a5b7-36c4-69e3-dc7575b030b2
2021-04-21T21:20:30Z INF Starting tunnel tunnelID=
2021-04-21T21:20:30Z INF Version
2021-04-21T21:20:30Z INF GOOS: linux, GOVersion: go1.15.7, GoArch: amd64
2021-04-21T21:20:30Z INF Settings: map[metrics:0.0.0.0:8099 no-autoupdate:true no-tls-verify:true]
2021-04-21T21:20:30Z INF Generated Connector ID:
2021-04-21T21:20:30Z INF Initial protocol h2mux
2021-04-21T21:20:30Z INF Starting metrics server on [::]:8099/metrics
2021-04-21T21:20:30Z INF Connection registered connIndex=0 location=SJC
2021-04-21T21:20:30Z INF Connection registered connIndex=1 location=LAX
2021-04-21T21:20:31Z INF Connection registered connIndex=2 location=SJC
2021-04-21T21:20:32Z INF Connection registered connIndex=3 location=LAX
2021-04-21T21:21:40Z ERR CF-RAY: -LAX Proxying to ingress 0 error: Error proxying request to origin: x509: certificate signed by unknown authority
```

Why is it still complaining about an unknown authority? Shouldn't it be ignoring it?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.