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

Using Cert manager to generate certificates fails #309

Closed
ppodevlabs opened this issue Aug 29, 2023 · 4 comments
Closed

Using Cert manager to generate certificates fails #309

ppodevlabs opened this issue Aug 29, 2023 · 4 comments
Labels
bug Something isn't working
Milestone

Comments

@ppodevlabs
Copy link
Contributor

Bug description

Deploy capsule-proxy with cert-manager to generate the certificates fails.
The certificate request includes the fqdn for the service created. https://github.com/clastix/capsule-proxy/blob/master/charts/capsule-proxy/templates/certmanager.yaml#L48-L49 which contains invalid fqdn making the deployment to fail as the certficate never get into a valid state.

How to reproduce

Configure the deployment to use cert-manager to generate the certificate

certManager:
  generateCertificates: true
  externalCA:
    secretName: "capsule-proxy"
  issuer:
    kind: ClusterIssuer # Issuer or ClusterIssuer
    name: letsencrypt

Expected behavior

The deployment should be successful when using cert-manager to generate the certificates.

Logs

 urn:ietf:params:acme:error:malformed: [dns: capsule-proxy] Error creating new order :: Domain name needs at least one dot
 urn:ietf:params:acme:error:malformed: [dns: capsule-proxy.capsule-system.svc] Error creating new order :: Domain name does not end with a valid public suffix (TLD)

@ppodevlabs ppodevlabs added the bug Something isn't working label Aug 29, 2023
@prometherion
Copy link
Member

I think this is address by the changes introduced with #288.

@maxgio92 are we missing something else?

@maxgio92
Copy link
Collaborator

Hi @@ppodevlabs,
thanks for sharing the issue.

I think so @prometherion. I've just asked for a feedback on a change I proposed on that.
So @ppodevlabs, I ask for a bit of patience on this, the PR is already under review :-)

@prometherion
Copy link
Member

@oliverbaehler QQ, is #346 addressing this need, too?

Wondering if we could close this, if it's so.

@oliverbaehler
Copy link
Collaborator

@prometherion i dont think so, i will add additional values to execlude our default local fqdns

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants