DoH docs: possible missing configuration steps

If one follows the steps for setting up DNS over HTTPS with the Cloudflared daemon: https://developers.cloudflare.com/1.1.1.1/dns-over-https/Cloudflared-proxy/

INFO[0000] Failed to copy user configuration. Before running the service, ensure that /etc/Cloudflared contains two files, cert.pem and config.yml  error="open /usr/local/etc/Cloudflared/cert.pem: no such file or directory"

Then it will error out on missing cert.pem. The page says nothing about needing to obtain an Cloudflare Tunnel certificate, or how to login and do so (only the config.yml)… Well, is that required? You should probably add a note.

This same issue was also noted in Example YAML for cloudflared 1.1.1.1 service?

@mvavrusa

Also the config reference should be updated with --proxy-dns and --proxy-dns-upstream options: Cloudflared parameters · Cloudflare Zero Trust docs

2 Likes

Noticed there’s a newer version available (INFO[0014] Updated to version 2018.4.6) than the .deb on the website via ‘Cloudflared update’, I think this solves the original missing cert issue.

This topic was automatically closed after 14 days. New replies are no longer allowed.