management/support cert from file (#122)

* feature: support cert file in management service

* docs: add new management commands
This commit is contained in:
Mikhail Bragin
2021-09-25 19:22:49 +02:00
committed by GitHub
parent 08dd719aa1
commit 32c369257b
5 changed files with 74 additions and 6 deletions

View File

@@ -36,7 +36,11 @@ type TURNConfig struct {
// HttpServerConfig is a config of the HTTP Management service server
type HttpServerConfig struct {
LetsEncryptDomain string
Address string
//CertFile is the location of the certificate
CertFile string
//CertKey is the location of the certificate private key
CertKey string
Address string
// AuthAudience identifies the recipients that the JWT is intended for (aud in JWT)
AuthAudience string
// AuthIssuer identifies principal that issued the JWT.