mirror of
https://github.com/drakkan/sftpgo.git
synced 2025-12-08 07:10:56 +03:00
allow different TLS certificates for each binding
Signed-off-by: Nicola Murino <nicola.murino@gmail.com>
This commit is contained in:
@@ -407,8 +407,8 @@ func TestMain(m *testing.M) {
|
||||
}
|
||||
httpdConf.Bindings[0].Port = 8443
|
||||
httpdConf.Bindings[0].EnableHTTPS = true
|
||||
httpdConf.CertificateFile = certPath
|
||||
httpdConf.CertificateKeyFile = keyPath
|
||||
httpdConf.Bindings[0].CertificateFile = certPath
|
||||
httpdConf.Bindings[0].CertificateKeyFile = keyPath
|
||||
httpdConf.Bindings = append(httpdConf.Bindings, httpd.Binding{})
|
||||
|
||||
go func() {
|
||||
|
||||
Reference in New Issue
Block a user