Skip to content

Instantly share code, notes, and snippets.

@coolaj86
Created March 3, 2024 02:21
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save coolaj86/9a5244a5130584add3c91f97214a6d39 to your computer and use it in GitHub Desktop.
Save coolaj86/9a5244a5130584add3c91f97214a6d39 to your computer and use it in GitHub Desktop.

3CX "Invalid certificate key"

As of v20, the 3CX web config doesn't accept EC certificates (probably a bad regex in the webui - doesn't seem to actually send the request).

You must use RSA certificates

See also:

Caddy RSA, DNS-only Certificates

{
    auto_https disable_redirects
    http_port 61080
    https_port 61443
    default_bind 127.0.0.1
}

example.com {
    tls {
        dns lego_deprecated dnsimple
        key_type rsa4096
    }
}

I believe there is a way to limit caddy to certificate renewal only - and not bind to listen on any ports - but I don't know how yet.

@cemialleb
Copy link

Do have any prompt that will work on the new Duckduckgo chat?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment