mirror of
https://github.com/OpenBankProject/OBP-API.git
synced 2026-02-06 15:27:01 +00:00
bugfix/Load the CA certificate of Redis
This commit is contained in:
parent
6c3e68f6f7
commit
49f7efe058
@ -61,7 +61,7 @@ object Redis extends MdcLoggable {
|
||||
|
||||
// Load the CA certificate
|
||||
val trustStore = KeyStore.getInstance(KeyStore.getDefaultType)
|
||||
val trustStorePassword = APIUtil.getPropsValue("keystore.password.redis")
|
||||
val trustStorePassword = APIUtil.getPropsValue("truststore.password.redis")
|
||||
.getOrElse(APIUtil.initPasswd).toCharArray
|
||||
val truststorePath = APIUtil.getPropsValue("truststore.path.redis").getOrElse("")
|
||||
val trustStoreStream = new FileInputStream(truststorePath)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user