mirror of
https://github.com/pomerium/pomerium.git
synced 2025-06-05 20:32:57 +02:00
cryptutil: add automatic certificate management (#644)
Signed-off-by: Bobby DeSimone <bobbydesimone@gmail.com>
This commit is contained in:
parent
1dc1c870c3
commit
bf9a6f5e97
29 changed files with 696 additions and 253 deletions
|
@ -11,8 +11,17 @@ type ServerOptions struct {
|
|||
// HTTPS requests. If empty, ":443" is used.
|
||||
Addr string
|
||||
|
||||
// TLS certificates to use.
|
||||
TLSCertificate *tls.Certificate
|
||||
// TLSConfig is the tls configuration used to setup the HTTPS server.
|
||||
TLSConfig *tls.Config
|
||||
|
||||
// InsecureServer when enabled disables all transport security.
|
||||
// In this mode, Pomerium is susceptible to man-in-the-middle attacks.
|
||||
// This should be used only for testing.
|
||||
Insecure bool
|
||||
|
||||
// Service is an optional field that helps define what the server's role is.
|
||||
Service string
|
||||
|
||||
// Timeouts
|
||||
ReadHeaderTimeout time.Duration
|
||||
ReadTimeout time.Duration
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue