Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for custom certificates in TLS handler #244

Open
rcm-25 opened this issue Sep 5, 2024 · 2 comments
Open

Support for custom certificates in TLS handler #244

rcm-25 opened this issue Sep 5, 2024 · 2 comments
Labels
help wanted Extra attention is needed

Comments

@rcm-25
Copy link

rcm-25 commented Sep 5, 2024

It would be nice to have the option to configure custom certificates for the L4 TLS handler via the Caddyfile as it is possible in Caddy with the tls <cert_file> <key_file> directive.

I would e.g. like to use it like this (in the context of docker compose):

{
    layer4 {
        127.0.0.1:8883 {
            route {
                tls my_cert.crt my_cert.key
                proxy <docker_container>:1883
            }
        }
    }
}

This feature request emerged from the discussion in Custom certificates for TLS termination in layer4 app

@mholt mholt added the help wanted Extra attention is needed label Sep 5, 2024
@mholt
Copy link
Owner

mholt commented Sep 5, 2024

Good idea, (sort of, lol) -- we like automation around these parts. Why do you need manually-managed certs?

@rcm-25
Copy link
Author

rcm-25 commented Sep 10, 2024

In my use case, I use Caddy with the Layer4 module as a reverse proxy in an environment that may not have online access.
I would therefore like to be able to specify my own certificate here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants