teleport/lib
Sasha Klizhentas c0bb732545 Adds ACME - auto cert management
This commit fixes #5177

Initial implementation uses dir backend as a cache and is OK
for small clusters, but will be a problem for many proxies.

This implementation uses Go autocert that is quite limited
compared to Caddy's certmagic or lego.

Autocert has no OCSP stapling and no locking for cache for example.
However, it is much simpler and has no dependencies.
It will be easier to extend to use Teleport backend as a cert cache.

```yaml
proxy_service:
  public_addr: ['example.com']
  # ACME - automatic certificate management environment.
  #
  # It provisions certificates for domains and
  # valid subdomains in public_addr section.
  #
  # The sudomains are valid if there is a registered application.
  # For example, app.example.com will get a cert if app is a regsitered
  # application access app. The sudomain cookie.example.com is not.
  #
  # Teleport acme is using TLS-ALPN-01 challenge:
  #
  # https://letsencrypt.org/docs/challenge-types/#tls-alpn-01
  #
  acme:
    # By default acme is disabled.
    enabled: true
    # Use a custom URI, for example staging is
    #
    # https://acme-staging-v02.api.letsencrypt.org/directory
    #
    # Default is letsencrypt.org production URL:
    #
    # https://acme-v02.api.letsencrypt.org/directory
    uri: ''
    # Set email to receive alerts and other correspondence
    # from your certificate authority.
    email: 'alice@example.com'
```
2020-12-22 17:33:20 -08:00
..
asciitable Updated "tctl tokens ..." command. 2018-09-04 10:16:29 -07:00
auth flaky tests: consistent logging (#4849) 2020-12-07 15:35:15 +01:00
backend Fix local etcd backend tests (#4986) 2020-11-26 13:56:28 +01:00
benchmark Fix coordinated omission bug (#4643) 2020-12-01 11:04:31 -08:00
bpf flaky tests: consistent logging (#4849) 2020-12-07 15:35:15 +01:00
cache improve cache correctness 2020-11-13 16:29:18 -08:00
cgroup flaky tests: consistent logging (#4849) 2020-12-07 15:35:15 +01:00
client flaky tests: consistent logging (#4849) 2020-12-07 15:35:15 +01:00
config Adds ACME - auto cert management 2020-12-22 17:33:20 -08:00
defaults Fix JWK kty from "rsa" to "RSA" (#4993) 2020-11-27 11:07:41 -04:00
events Augment session events with cluster name (#4994) 2020-12-08 13:33:44 +01:00
fixtures Session streaming 2020-09-28 23:08:56 -07:00
fuzz Minor update to fuzzing README (#4889) 2020-11-18 11:56:01 -04:00
httplib Make k8s errors responses decode-able by kubectl (#5166) 2020-12-18 15:27:45 -08:00
jwt flaky tests: consistent logging (#4849) 2020-12-07 15:35:15 +01:00
kube Make k8s errors responses decode-able by kubectl (#5166) 2020-12-18 15:27:45 -08:00
labels flaky tests: consistent logging (#4849) 2020-12-07 15:35:15 +01:00
limiter flaky tests: consistent logging (#4849) 2020-12-07 15:35:15 +01:00
modules Added support for admin user and token management. 2020-11-05 10:49:59 -08:00
multiplexer RFD 1: user testify/require instead of testify/assert 2020-10-16 00:15:25 +00:00
pam flaky tests: consistent logging (#4849) 2020-12-07 15:35:15 +01:00
reversetunnel Improve error message reported when node is offline (#5036) 2020-12-15 16:36:39 +01:00
secret flaky tests: consistent logging (#4849) 2020-12-07 15:35:15 +01:00
service Adds ACME - auto cert management 2020-12-22 17:33:20 -08:00
services Upgrade gosaml2 library to v0.6.0 (#5118) 2020-12-14 11:34:20 -08:00
session Fixing golint warnings, batch 1 2020-10-13 00:22:49 +00:00
shell Ensure all tests run exactly once per package 2020-04-30 16:35:35 +00:00
srv Fix a flaky test in lib/srv/app (#5079) 2020-12-11 12:36:02 +01:00
sshca Create single instance of keygen per process. Use cache of precomputed 2018-02-15 21:23:30 +00:00
sshutils Server data race (#4790) 2020-12-09 16:46:33 +01:00
system Map error to errno value and log it 2018-03-26 23:28:58 +02:00
teleagent Don't log error on tunnel node after its serving agent is stopped (#5042) 2020-12-11 17:39:19 +01:00
tlsca Kubernetes request routing and cluster registration (#4670) 2020-11-09 19:40:02 +00:00
utils Adds ACME - auto cert management 2020-12-22 17:33:20 -08:00
web Adds ACME - auto cert management 2020-12-22 17:33:20 -08:00
wrappers flaky tests: consistent logging (#4849) 2020-12-07 15:35:15 +01:00
runtimeflags.go Correct various typos 2017-10-20 10:20:26 +02:00