api-manager
api-manager copied to clipboard
Reduce truststore.store calls when loading certs to temporary truststore on server startup
Problem
- Concurrent trsutstore access issues were reported against the existing cert loading approach.
Solution
- As an improvment we have reduced the truststore.store calls to one per tenant. This is addressed in https://github.com/wso2/api-manager/issues/2791
- However it should be possible to reduce this to one per all the tenants, i.e load all certs from all the tenants to the truststore and then only call the truststore store function.
- Also need to refactor the code.
Affected Component
APIM
Version
No response
Implementation
No response
Related Issues
[1]. https://github.com/wso2/api-manager/issues/2791
Suggested Labels
No response