Cloudflare Origin Certificate

1. Caddy version (caddy version):

Built-in: v2.4.3 h1:Y1FaV2N4WO3rBqxSYA8UZsZTQdN+PwcoOcAiZTM8C0I=
Custom: v2.4.3 h1:Y1FaV2N4WO3rBqxSYA8UZsZTQdN+PwcoOcAiZTM8C0I=

2. How I run Caddy:

Docker on unraid

a. System environment:

Unraid docker

b. Command:

Paste command here.

c. Service/unit/compose file:

Paste full file contents here.
Make sure backticks stay on their own lines,
and the post looks nice in the preview pane.

d. My complete Caddyfile or JSON config:

Paste config here, replacing this text.
Use `caddy fmt` to make it readable.
DO NOT REDACT anything except credentials.
LEAVE DOMAIN NAMES INTACT.
Make sure the backticks stay on their own lines.

3. The problem I’m having:

Trying to pull my origin certificate from cloudflare to use in caddy.

4. Error messages and/or full log output:

5. What I already tried:

6. Links to relevant resources:

You haven’t properly filled out the template.

It’s unclear what you’re asking. Please elaborate.

I was just trying to get help to pull my cloudflare origin certificate into cloudflare but I’ve managed to grab my certificate to use.

Now my question is how on earth do you actually setup the caddyfile for a reverse proxy to use cloudflare. None of the docs are any help. Just adding in the reverse_proxy line will not work as cloudflare will need to know who I am to verify the certificate. Trying to add my email into the caddyfile borks the whole things and crashes.

Please post what you’ve tried, and the errors you’re seeing.

You need to be more specific about what you’re trying to do, I can’t really make assumptions.

It’ll save time for both of us if you fill out the help topic template above.

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