Giter Site home page Giter Site logo

Comments (7)

jonathan-sturges avatar jonathan-sturges commented on August 11, 2024

Limitations/comments:

  • Let's Encrypt only allows 50 per domain, per day. Use wildcard certs?
  • Need control of DNS for domain

from redhatgov.workshops.

calvingsmith avatar calvingsmith commented on August 11, 2024

from redhatgov.workshops.

dmc5179 avatar dmc5179 commented on August 11, 2024

Wildcard cert on *.redhatgov.io would probably be too broad. The pattern for DNS names in the workshop should probably be updated and then a wildcard used. If the name of the workshop is "mycompany" then I get hosts called:

  • mycompany.node.#.redhatgov.io
  • mycompany.tower.#.redhatgov.io

It is a weird naming convention by itself but for wildcard certs we could just switch it to make the company name a subdomain like:

  • node.#.mycompany.redhatgov.io
  • tower.#.mycompany.redhatgov.io

The wildcard cert can then be issued on *.mycompany.redhatgov.io
The naming convention is also much easier to understand IMHO.

from redhatgov.workshops.

mshoger avatar mshoger commented on August 11, 2024

Just ran a RHEL8 workshop where this was an issue. Several students from corporate networks that don't allow invalid certs. Letsencrypt would be a great way to mitigate this.

from redhatgov.workshops.

jonathan-sturges avatar jonathan-sturges commented on August 11, 2024

Wildcard cert on *.redhatgov.io would probably be too broad. The pattern for DNS names in the workshop should probably be updated and then a wildcard used. If the name of the workshop is "mycompany" then I get hosts called:

  • mycompany.node.#.redhatgov.io
  • mycompany.tower.#.redhatgov.io

It is a weird naming convention by itself but for wildcard certs we could just switch it to make the company name a subdomain like:

  • node.#.mycompany.redhatgov.io
  • tower.#.mycompany.redhatgov.io

The wildcard cert can then be issued on *.mycompany.redhatgov.io
The naming convention is also much easier to understand IMHO.

I like this approach, and it looks like it should be compatible with this module for per-host certs. That would make deployment pretty seamless for smaller workshops straight up, but we'd have to test if it also works for wildcard certs.

from redhatgov.workshops.

jonathan-sturges avatar jonathan-sturges commented on August 11, 2024

I think this approach continues to have merit.
If we create per-workshop sub-domains, we should be able to use a DNS-01 challenge from Let's Encrypt to get a wildcard cert.
ref: https://letsencrypt.org/docs/challenge-types/

I'll work on testing this out.

from redhatgov.workshops.

ajacocks avatar ajacocks commented on August 11, 2024

Closed by #166

from redhatgov.workshops.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.