I added preferred_chains to the global options according to the documentation, but I was told that the parameter was not recognized.
preferred_chains smallest
Has this option been removed?
And, I want to know whether Caddy supports applying for ECDSA and RSA certificates from Let’s Encrypt at the same time?
The requirements are similar to Multiple certificate support (e.g. ECDSA & RSA) · Issue #1575 · caddyserver/caddy · GitHub
But the difference is that I want to apply for ECDSA and RSA certificates directly from Let’s Encrypt or ZeroSSL instead of manually specifying them.
This is not very important, but I want to increase the compatibility of the website as much as possible.
Please fill out the help topic template. What version are you using? Make sure you’re using the latest. Caddyfile support for the feature first landed in v2.4.2.
I checked the container, its version is 2.4.1, but I have already done a build yesterday.
I just tried to rebuild, but it uses cache.
Dockerfile:
FROM caddy:builder-alpine AS builder
RUN xcaddy build \
--with github.com/caddy-dns/cloudflare \
--with github.com/porech/caddy-maxmind-geolocation
FROM caddy:alpine
COPY --from=builder /usr/bin/caddy /usr/bin/caddy
I imagine RSA certificates will eventually be phased out by ECC. I’m not sure there’s much lasting value in supporting both (and the complexity there in automating that is not trivial).
I could be wrong. But I’d rather have a simpler code base than try to implement even more code related to that.