Skip to content

Commit 281e497

Browse files
mirskifaGitHub Enterprise
authored andcommitted
Fix loading trust certificates into keystore (#737)
1 parent 84db019 commit 281e497

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

internal/tls/tls.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,8 @@ func ConfigureDefaultTLSKeystores() (string, KeyStoreData, KeyStoreData, error)
139139
func ConfigureHATLSKeystore() (string, string, KeyStoreData, KeyStoreData, error) {
140140
// *.crt files mounted to the HA TLS dir keyDirHA will be processed as trusted in the CMS keystore
141141
keyDirs := []string{keyDirHA, keyDirGroupHA}
142-
haCertLabels, haKeystore, haTruststore, err := configureTLSKeystores(keystoreDirHA, keyDirs, keyDirs, false, true)
142+
trustDirs := []string{trustDirGroupHA}
143+
haCertLabels, haKeystore, haTruststore, err := configureTLSKeystores(keystoreDirHA, keyDirs, trustDirs, false, true)
143144
if err != nil {
144145
return "", "", haKeystore, haTruststore, err
145146
}

0 commit comments

Comments
 (0)