docs: add self signed certs guide#16182
Conversation
|
I also moved the info on how to setup certs into an include file and included that in the self-signed certs guide |
Co-authored-by: Paul Gottschling <paul.gottschling@goteleport.com>
Co-authored-by: Paul Gottschling <paul.gottschling@goteleport.com>
Co-authored-by: Paul Gottschling <paul.gottschling@goteleport.com>
Co-authored-by: Paul Gottschling <paul.gottschling@goteleport.com>
Co-authored-by: Paul Gottschling <paul.gottschling@goteleport.com>
Co-authored-by: Paul Gottschling <paul.gottschling@goteleport.com>
Co-authored-by: Paul Gottschling <paul.gottschling@goteleport.com>
certs -> certificates proxy -> Proxy Service
| - The Teleport config file `auth_servers` setting is set to the Proxy Service endpoint: | ||
| - `auth_servers: ["tele.example.com:443"]` or | ||
| - `auth_servers: ["tele.example.com:3080"]` |
There was a problem hiding this comment.
We recently added config v3 which has either auth_server or proxy_server (#15761)
teleport/docs/pages/reference/config.mdx
Lines 142 to 158 in bd0ae38
Can you update this to match please?
Note, we didn't backport this, so when backporting for v10 you should still mention auth_servers.
There was a problem hiding this comment.
Sure. On that note, are we planning to update the teleport start cli to have separate --proxy-server and --auth-server?
|
I disabled auto-merge and reassigned back to @GavinFrazar to address the latest review. |
|
@GavinFrazar did you mean to assign this PR to me? |
I reassigned after addressing your feedback, since I've seen that a few times in other PRs I thought maybe it was just the norm lol. |
|
@ryanclark just waiting on your approval, was there something else you wanted addressed still? |
|
@GavinFrazar See the table below for backport results.
|
* Add slug for self signed certs * Add self-signed certs guide * Move tls cert setup into an include snippet * Update tsh section on self signed certs * Fix indentation * Remove extra slash before heading * Update docs/config.json Co-authored-by: Paul Gottschling <paul.gottschling@goteleport.com> * Update docs/pages/management/admin.mdx Co-authored-by: Paul Gottschling <paul.gottschling@goteleport.com> * Update docs/pages/includes/tls-certificate-setup.mdx Co-authored-by: Paul Gottschling <paul.gottschling@goteleport.com> * Update docs/pages/management/admin/self-signed-certs.mdx Co-authored-by: Paul Gottschling <paul.gottschling@goteleport.com> * Update docs/pages/management/admin/self-signed-certs.mdx Co-authored-by: Paul Gottschling <paul.gottschling@goteleport.com> * Update docs/pages/management/admin/self-signed-certs.mdx Co-authored-by: Paul Gottschling <paul.gottschling@goteleport.com> * Update docs/pages/management/admin/self-signed-certs.mdx Co-authored-by: Paul Gottschling <paul.gottschling@goteleport.com> * Fix formatting of github suggestion commit * Change link title to avoid abbreviation * Update intro to explain the purpose of the guide and why anyone would want it * Make 'proxy' and 'certs' consistent throughout the guide: certs -> certificates proxy -> Proxy Service * Move motivation for guide out of warning and into intro * Simplify the warning notice * Change headings * Capitalize helm and simplify label * Update Helm info to include inline instructions * Simplify systemd label * Update systemd tab * Update slug certs -> certificates * Fix include snippet yaml example * Change prereqs to omit cloud tab and instruct user to check for self-signed certs config * Update docs/pages/management/admin/self-signed-certs.mdx Co-authored-by: Paul Gottschling <paul.gottschling@goteleport.com> * Update docs/pages/management/admin/self-signed-certs.mdx Co-authored-by: Paul Gottschling <paul.gottschling@goteleport.com> * Update docs/pages/management/admin/self-signed-certs.mdx Co-authored-by: Paul Gottschling <paul.gottschling@goteleport.com> * Apply suggestions from code review Co-authored-by: Paul Gottschling <paul.gottschling@goteleport.com> * Update docs/pages/management/admin/self-signed-certs.mdx Co-authored-by: Paul Gottschling <paul.gottschling@goteleport.com> * Get specific about problem caused by insecure TLS * Remove 'how to setup tls certs' section in favor of a link at the bottom * Add examples for tsh and tctl, and clean up tctl wording * Remove link to systemd guide * Add more detail to systemd instructions * Change wording around instructions for teleport * Rearrange links * Remove reference to deleted acme.mdx * Remove v2 config reference to auth_servers * Remove list syntax for proxy_server Co-authored-by: Paul Gottschling <paul.gottschling@goteleport.com>
* docs: add self signed certs guide (#16182) * Add slug for self signed certs * Add self-signed certs guide * Move tls cert setup into an include snippet * Update tsh section on self signed certs * Fix indentation * Remove extra slash before heading * Update docs/config.json Co-authored-by: Paul Gottschling <paul.gottschling@goteleport.com> * Update docs/pages/management/admin.mdx Co-authored-by: Paul Gottschling <paul.gottschling@goteleport.com> * Update docs/pages/includes/tls-certificate-setup.mdx Co-authored-by: Paul Gottschling <paul.gottschling@goteleport.com> * Update docs/pages/management/admin/self-signed-certs.mdx Co-authored-by: Paul Gottschling <paul.gottschling@goteleport.com> * Update docs/pages/management/admin/self-signed-certs.mdx Co-authored-by: Paul Gottschling <paul.gottschling@goteleport.com> * Update docs/pages/management/admin/self-signed-certs.mdx Co-authored-by: Paul Gottschling <paul.gottschling@goteleport.com> * Update docs/pages/management/admin/self-signed-certs.mdx Co-authored-by: Paul Gottschling <paul.gottschling@goteleport.com> * Fix formatting of github suggestion commit * Change link title to avoid abbreviation * Update intro to explain the purpose of the guide and why anyone would want it * Make 'proxy' and 'certs' consistent throughout the guide: certs -> certificates proxy -> Proxy Service * Move motivation for guide out of warning and into intro * Simplify the warning notice * Change headings * Capitalize helm and simplify label * Update Helm info to include inline instructions * Simplify systemd label * Update systemd tab * Update slug certs -> certificates * Fix include snippet yaml example * Change prereqs to omit cloud tab and instruct user to check for self-signed certs config * Update docs/pages/management/admin/self-signed-certs.mdx Co-authored-by: Paul Gottschling <paul.gottschling@goteleport.com> * Update docs/pages/management/admin/self-signed-certs.mdx Co-authored-by: Paul Gottschling <paul.gottschling@goteleport.com> * Update docs/pages/management/admin/self-signed-certs.mdx Co-authored-by: Paul Gottschling <paul.gottschling@goteleport.com> * Apply suggestions from code review Co-authored-by: Paul Gottschling <paul.gottschling@goteleport.com> * Update docs/pages/management/admin/self-signed-certs.mdx Co-authored-by: Paul Gottschling <paul.gottschling@goteleport.com> * Get specific about problem caused by insecure TLS * Remove 'how to setup tls certs' section in favor of a link at the bottom * Add examples for tsh and tctl, and clean up tctl wording * Remove link to systemd guide * Add more detail to systemd instructions * Change wording around instructions for teleport * Rearrange links * Remove reference to deleted acme.mdx * Remove v2 config reference to auth_servers * Remove list syntax for proxy_server Co-authored-by: Paul Gottschling <paul.gottschling@goteleport.com> * Delete orphaned include Co-authored-by: Paul Gottschling <paul.gottschling@goteleport.com>
Closes #13781
This PR adds a guide for using self-signed certs with Teleport. It includes a prominent warning about why you should never use self-signed certs in production, and info about how to use
teleport,tctl, andtshwith a proxy that uses self-signed certs.For using
teleportI included info about passing--insecurefor helm and for systemd daemon.The PR also consolidates copies of the same snippet regarding TLS certificate setup into a single include file:
tls-certificate-setup.mdx