Junit test using trust store certificate causing security vulnerability | Community
Skip to main content
arjunsudhas1995
Level 2
March 13, 2023
Solved

Junit test using trust store certificate causing security vulnerability

  • March 13, 2023
  • 1 reply
  • 1092 views

In my current project repo a security certificate with .jks extension is kept for some junit test case requirements. The same is causing a security vulnerability. Is there is any way to avoid using the security certificate in the repo?

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by rawvarun

Ideally, the Junit test case should not have any method which requires .jks. Junit is meant to mock your application code and test only the logic of your application.

But, if .jks is still required, you should connect with Adobe Support Team.

1 reply

rawvarun
Community Advisor
rawvarunCommunity AdvisorAccepted solution
Community Advisor
June 13, 2023

Ideally, the Junit test case should not have any method which requires .jks. Junit is meant to mock your application code and test only the logic of your application.

But, if .jks is still required, you should connect with Adobe Support Team.