First part of the changes for SSLKEYR (#328)

* Squashed all commits

* Addressed review comments
This commit is contained in:
SHASHIKANTH THAMBRAHALLI
2022-11-01 05:50:46 +05:30
committed by GitHub Enterprise
parent 336d542ff1
commit a824b75bfa
3 changed files with 130 additions and 19 deletions

View File

@@ -65,7 +65,6 @@ func ConfigureWebKeystore(p12Truststore KeyStoreData, webKeystore string) (strin
// Check if a new self-signed certificate should be generated
genHostName := os.Getenv("MQ_GENERATE_CERTIFICATE_HOSTNAME")
if genHostName != "" {
// Create the Web Keystore
newWebKeystore := keystore.NewPKCS12KeyStore(webKeystoreFile, p12Truststore.Password)
err := newWebKeystore.Create()