updated to embed generated certificate/key files

This commit is contained in:
2024-12-07 12:45:35 +09:00
parent 634de1756a
commit 6ad7ffd1a6
5 changed files with 112 additions and 42 deletions

View File

@ -25,13 +25,14 @@ type ServerTLSConfig struct {
}
type ClientTLSConfig struct {
Enabled bool `yaml:"enabled"`
CertFile string `yaml:"cert-file"`
KeyFile string `yaml:"key-file"`
CertText string `yaml:"cert-text"`
KeyText string `yaml:"key-text"`
ServerCACertFile string `yaml:"server-ca-cert-file"`
ServerCACertText string `yaml:"server-ca-cert-text"`
Enabled bool `yaml:"enabled"`
CertFile string `yaml:"cert-file"`
KeyFile string `yaml:"key-file"`
CertText string `yaml:"cert-text"`
KeyText string `yaml:"key-text"`
ServerCACertFile string `yaml:"server-ca-cert-file"`
ServerCACertText string `yaml:"server-ca-cert-text"`
InsecureSkipVerify bool `yaml:"skip-verify"`
}
type ServerConfig struct {