Expand my Community achievements bar.

SOLVED

Junit test using trust store certificate causing security vulnerability

Avatar

Level 2

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?

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

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.

View solution in original post

1 Reply

Avatar

Correct answer by
Community Advisor

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.