api-manager icon indicating copy to clipboard operation
api-manager copied to clipboard

Reduce truststore.store calls when loading certs to temporary truststore on server startup

Open msm1992 opened this issue 1 year ago • 0 comments

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

msm1992 avatar Apr 16 '24 04:04 msm1992