Addons acme with dreamhost

I don’t really understand what I need to do to use GitHub - caddy-dns/dreamhost

I’ve got Caddy working and I would like for it to handle let’s encrypt for me using the dreamhost dns provider.

I tried just referencing dreamhost in my Caddyfile but it didn’t appear to work.

I assume I need to at least download the dreamhost plugin. Possibly recompile Caddy with the plugin?

Can someone please give me a basic overview of how to get the dreamhost DNS provider working in caddy? I do have dns-dreamhost working elsewhere and I know my API key.

1. The problem I’m having:

2. Error messages and/or full log output:

PASTE OVER THIS, BETWEEN THE ``` LINES.
Please use the preview pane to ensure it looks nice.

3. Caddy version:

4. How I installed and ran Caddy:

a. System environment:

b. Command:

PASTE OVER THIS, BETWEEN THE ``` LINES.
Please use the preview pane to ensure it looks nice.

c. Service/unit/compose file:

PASTE OVER THIS, BETWEEN THE ``` LINES.
Please use the preview pane to ensure it looks nice.

d. My complete Caddy config:

PASTE OVER THIS, BETWEEN THE ``` LINES.
Please use the preview pane to ensure it looks nice.

5. Links to relevant resources:

I don’t know if you’ve made progress on this, but we need to see the Caddy logs to really help you. But if Caddy isn’t adding dreamhost module, then we need to see what command you’re using to have it done.

With the Caddyfile, all you’re really doing is adding the API key in the block.

{
	acme_dns dreamhost {
		api_key {env.DREAMHOST_API_KEY}
	}
}
1 Like

Thank you for your reply. I’m not 100% sure how I initially installed caddy (I suspect apt-get) but I managed to build with xcaddy and I think the ACME provider is working now.

1 Like