Enforce SSL Certificate Validation in Tests

Type of change

  • Bug Fix
  • Feature

Please provide link to gitlab issue or ADR(Architecture Decision Record)

Does this introduce a change in the core logic?

  • NO

Does this introduce a change in the cloud provider implementation, if so which cloud?

  • AWS
  • Azure
  • Google Cloud
  • IBM

Test changes

Does this introduce a breaking change?

  • NO

What is the current behavior?

Removing the previous SSL configuration that bypassed certificate validation in tests

What is the new/expected behavior?

Replacing with a proper TrustManagerFactory setup - ensuring that Java's default TrustStore (cacerts) is used, allowing only trusted certificates to be accepted.

Have you added/updated Unit Tests and Integration Tests?

Yes

Any other useful information

Edited by Ayushi Srivastava

Merge request reports

Loading