Added NativeHA TLS keystore

This commit is contained in:
Luke Powlett
2021-01-06 16:02:00 +00:00
committed by Luke J Powlett
parent e1c96655b1
commit 1d41f4b138
4 changed files with 113 additions and 47 deletions

View File

@@ -60,7 +60,7 @@ func ConfigureWebKeystore(p12Truststore KeyStoreData, webKeystore string) (strin
if webKeystore == "" {
webKeystore = webKeystoreDefault
}
webKeystoreFile := filepath.Join(keystoreDir, webKeystore)
webKeystoreFile := filepath.Join(keystoreDirDefault, webKeystore)
// Check if a new self-signed certificate should be generated
genHostName := os.Getenv("MQ_GENERATE_CERTIFICATE_HOSTNAME")