Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Client Truststore Corruption in a HA All-in- one APIM 3.2.0 Setup #2979

Closed
dinuka10 opened this issue Jul 2, 2024 · 1 comment
Closed

Client Truststore Corruption in a HA All-in- one APIM 3.2.0 Setup #2979

dinuka10 opened this issue Jul 2, 2024 · 1 comment

Comments

@dinuka10
Copy link

dinuka10 commented Jul 2, 2024

Description

In APIM 3.2.0, when client certificates are added through the publisher for an API with mutual SSL enabled, the client truststore becomes corrupted if the client truststore is shared between gateway nodes. (In this case, HA all-in-one setup, and the client truststore is shared between two all-in-one nodes.)

Steps to Reproduce

1.) Setup two all-in-one nodes in HA configuration with the client truststore (security directory) shared between them.

2.) Create and publish an API with mutual SSL enabled and add a few client certificates.

3.) Conduct load tests using the attached JMeter script to update the APIs using the [1] Publisher REST API. The load test involved concurrently updating the API through both APIM nodes using the REST API [1].

NFS.zip

[1] https://apim.docs.wso2.com/en/3.2.0/develop/product-apis/publisher-apis/publisher-v1/publisher-v1/#tag/APIs/paths/~1apis~1%7BapiId%7D/put

Affected Component

APIM

Version

wso2am-3.2.0

Environment Details (with versions)

No response

Relevant Log Output

No response

Related Issues

No response

Suggested Labels

No response

@YasasRangika
Copy link

Closing as per the public fix is not applicable, as 4.x.x versions are storing metadata in the DB.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants