-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
Add notes about wildcard certificates #9454
Conversation
cf5ec8c
to
d463dbd
Compare
d463dbd
to
bf10176
Compare
bf10176
to
aa85ee9
Compare
aa85ee9
to
43afe5f
Compare
de89404
to
600d423
Compare
600d423
to
1265f03
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Whether or not we agree with them, many organizations still see the requirement for a wildcard certificate as less secure or harder to obtain.
It would be nice if we could find a way to suggest wildcard certificates for their ease of use without scaring away folks who don't want to use wildcards.
- We will assume your Teleport cluster is accessible at `teleport.example.com` and `*.teleport.example.com`. Configured DNS records are required to automatically fetch a [Let's Encrypt](https://letsencrypt.org) certificate. | ||
|
||
<Admonition type="note" title="Teleport and Wildcard Certificates"> | ||
Teleport assigns a subdomain to each application you have configured for Application Access (e.g., `grafana.teleport.example.com`), so you need to create a DNS A record with a wildcard subdomain (e.g., `*.teleport.example.com`). This way, Let's Encrypt can issue a wildcard certificate, enabling clients to verify your Teleport hosts regardless of the application they are accessing. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You don't necessarily need a wildcard certificate, this is just the quickest and easiest solution.
Can we word this in such a way to at least suggest that the alternative of requesting only the subdomains you plan to put behind app access is possible?
@@ -41,6 +45,10 @@ using Let's Encrypt [ACME](https://letsencrypt.org/how-it-works/) protocol. | |||
We will assume that you have configured DNS records for `teleport.example.com` | |||
and `*.teleport.example.com` to point to the Teleport node. | |||
|
|||
<Admonition type="note" title="Why do I need a wildcard certificate?"> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should this be an include? I would think so, given it's copied several times.
1265f03
to
4f04e02
Compare
0cc6199
to
fd584ec
Compare
@@ -131,8 +133,7 @@ for web apps using [application access](../../application-access/introduction.md | |||
|
|||
# Create a JSON file changeset for AWS. | |||
$ jq -n --arg ip ${MYIP?} --arg dns ${MYDNS?} '{"Comment": "Create records", "Changes": [ | |||
{"Action": "CREATE", "ResourceRecordSet": {"Name": $dns, "Type": "A", "TTL": 300, "ResourceRecords": [{ "Value": $ip}]}}, | |||
{"Action": "CREATE", "ResourceRecordSet": {"Name": ("*." + $dns), "Type": "A", "TTL": 300, "ResourceRecords": [{ "Value": $ip}]}} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm not sure why are we removing the commands for creating wildcard records? If we do that, it is no longer a copy-pasteable example :) Same below.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good point—I've restored the original commands while adding a reminder to adjust them for your environment in case, say, a user doesn't want to create a wildcard record.
2ea8f54
to
2713841
Compare
e8b4f71
to
075784b
Compare
075784b
to
dc685be
Compare
@r0mant Would you have time to give this one another look? Thanks! |
dc685be
to
9ae8b12
Compare
a903a90
to
c1bb9db
Compare
c1bb9db
to
36ba8b9
Compare
Guides to getting started with Teleport on various platforms recommend creating a DNS record for *.teleport.com. It would help prospective users to know why this is needed. This change adds context for why Application Access requires a wildcard subdomain. Fixes #5378
- Move information into a partial - Mention that you can create a DNS A record for each application- specific subdomain
36ba8b9
to
67d4b5d
Compare
Backports #9454 * Add notes about wildcard certificates Guides to getting started with Teleport on various platforms recommend creating a DNS record for *.teleport.com. It would help prospective users to know why this is needed. This change adds context for why Application Access requires a wildcard subdomain. Fixes #5378 * Respond to PR feedback - Move information into a partial - Mention that you can create a DNS A record for each application- specific subdomain * Restore DNS-related cloud provider commands
Backports #9454 * Add notes about wildcard certificates Guides to getting started with Teleport on various platforms recommend creating a DNS record for *.teleport.com. It would help prospective users to know why this is needed. This change adds context for why Application Access requires a wildcard subdomain. Fixes #5378 * Respond to PR feedback - Move information into a partial - Mention that you can create a DNS A record for each application- specific subdomain * Restore DNS-related cloud provider commands
Backports #9454 * Add notes about wildcard certificates Guides to getting started with Teleport on various platforms recommend creating a DNS record for *.teleport.com. It would help prospective users to know why this is needed. This change adds context for why Application Access requires a wildcard subdomain. Fixes #5378 * Respond to PR feedback - Move information into a partial - Mention that you can create a DNS A record for each application- specific subdomain * Restore DNS-related cloud provider commands
Backports #9454 * Add notes about wildcard certificates Guides to getting started with Teleport on various platforms recommend creating a DNS record for *.teleport.com. It would help prospective users to know why this is needed. This change adds context for why Application Access requires a wildcard subdomain. Fixes #5378 * Respond to PR feedback - Move information into a partial - Mention that you can create a DNS A record for each application- specific subdomain * Restore DNS-related cloud provider commands
Backports #9454 * Add notes about wildcard certificates Guides to getting started with Teleport on various platforms recommend creating a DNS record for *.teleport.com. It would help prospective users to know why this is needed. This change adds context for why Application Access requires a wildcard subdomain. Fixes #5378 * Respond to PR feedback - Move information into a partial - Mention that you can create a DNS A record for each application- specific subdomain * Restore DNS-related cloud provider commands
Backports #9454 * Add notes about wildcard certificates Guides to getting started with Teleport on various platforms recommend creating a DNS record for *.teleport.com. It would help prospective users to know why this is needed. This change adds context for why Application Access requires a wildcard subdomain. Fixes #5378 * Respond to PR feedback - Move information into a partial - Mention that you can create a DNS A record for each application- specific subdomain * Restore DNS-related cloud provider commands
Backports #9454 * Add notes about wildcard certificates Guides to getting started with Teleport on various platforms recommend creating a DNS record for *.teleport.com. It would help prospective users to know why this is needed. This change adds context for why Application Access requires a wildcard subdomain. Fixes #5378 * Respond to PR feedback - Move information into a partial - Mention that you can create a DNS A record for each application- specific subdomain * Restore DNS-related cloud provider commands
Backports #9454 * Add notes about wildcard certificates Guides to getting started with Teleport on various platforms recommend creating a DNS record for *.teleport.com. It would help prospective users to know why this is needed. This change adds context for why Application Access requires a wildcard subdomain. Fixes #5378 * Respond to PR feedback - Move information into a partial - Mention that you can create a DNS A record for each application- specific subdomain * Restore DNS-related cloud provider commands
Backports #9454 * Add notes about wildcard certificates Guides to getting started with Teleport on various platforms recommend creating a DNS record for *.teleport.com. It would help prospective users to know why this is needed. This change adds context for why Application Access requires a wildcard subdomain. Fixes #5378 * Respond to PR feedback - Move information into a partial - Mention that you can create a DNS A record for each application- specific subdomain * Restore DNS-related cloud provider commands
Guides to getting started with Teleport on various platforms
recommend creating a DNS record for *.teleport.com. It would help
prospective users to know why this is needed. This change adds
context for why Application Access requires a wildcard subdomain.
Fixes #5378