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

Custom SSL Certificates for Ingress Gateways #9751

Closed
nicholasjackson opened this issue Feb 10, 2021 · 6 comments
Closed

Custom SSL Certificates for Ingress Gateways #9751

nicholasjackson opened this issue Feb 10, 2021 · 6 comments
Labels
theme/certificates Related to creating, distributing, and rotating certificates in Consul theme/connect Anything related to Consul Connect, Service Mesh, Side Car Proxies theme/ingress-gw Track ingress work type/enhancement Proposed improvement or new feature

Comments

@nicholasjackson
Copy link
Contributor

Feature Description

I would like to be able to secure ingress gateways using my own TLS certificates to be able to provide a valid certificate for the domain to which my application is exposed.

At present the IngressGateway can be configured to enable TLS for public listeners, however, this uses a certificate issued by Consul.

https://www.consul.io/docs/connect/config-entries/ingress-gateway#tls

I would like to be able to provide my own certificate for example using LetsEncrypt for my custom domain. Ideally, this feature would work in a combination with the Helm chart to automatically integrate with cert-manager for ease of use.

@gdbelvin
Copy link

@jsosulska jsosulska added theme/certificates Related to creating, distributing, and rotating certificates in Consul theme/connect Anything related to Consul Connect, Service Mesh, Side Car Proxies theme/ingress-gw Track ingress work type/enhancement Proposed improvement or new feature labels Feb 24, 2021
@david-yu
Copy link
Contributor

david-yu commented Jan 28, 2022

Hi everyone, closing this issue as this is now addressed via the new Consul API Gateway that was released as beta today. The docs could be found here: https://www.consul.io/docs/api-gateway and a learn guide is posted here: https://learn.hashicorp.com/tutorials/consul/kubernetes-api-gateway

@david-yu
Copy link
Contributor

Closed early, but it looks like for folks that do want a solution on VMs, this issue is still valid.

@david-yu david-yu reopened this Jan 28, 2022
@iluminae
Copy link

iluminae commented May 4, 2022

Also would like to come at this from a Nomad context. This ingress works great but it would be lovely to have that cert could come from somewhere else, including vault. Just some workflow to be able to load in some other cert would be grand.

Edit: is this SDS implementation applicable? https://www.consul.io/docs/connect/gateways/ingress-gateway#custom-tls-certificates-via-secret-discovery-service-sds

@vvarga007
Copy link

vvarga007 commented Jul 27, 2022

I am also desperately looking for a solution to be able to use custom TLS cert with the ingress gateway. The API gateway looks promising but it is not available for Nomad just yet. :/ Traefik and other Connect native loadbalancers are not a replacement for ingress gateway as those are ignoring L7 routing settings(service configuration entries routers/splitters/resolvers), like having a resolver that fails the service other to a different datacenter.
Consul Connect is a great product but the lack of proper edge routing capability makes it useless(if you try to use it with Nomad).

@david-yu
Copy link
Contributor

Closing as API Gateway for VM support is now available in Consul 1.15.0. #16369

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
theme/certificates Related to creating, distributing, and rotating certificates in Consul theme/connect Anything related to Consul Connect, Service Mesh, Side Car Proxies theme/ingress-gw Track ingress work type/enhancement Proposed improvement or new feature
Projects
None yet
Development

No branches or pull requests

6 participants