As mentioned in a previous blog post, Let’s Encrypt now provides certificates for IP addresses with their shortlived profile.
Back then, Caddy had not yet implemented this feature for IPv6 addresses, but it has since been added. With version 2.11.3, I’ve added it to my configuration like this:
[2a01:239:33b:300::1] {
respond "https secured IPv6 address!" 200
}
Please be aware that this still requires the explicit selection of the shortlived profile, as outlined in the original post.