How-to articles, tricks, and solutions about JENKINS

Error - trustAnchors parameter must be non-empty

The trustAnchors parameter must be non-empty error typically occurs when you are trying to create an instance of the SSLContext class in Java and you pass an empty trust store as the trustAnchors parameter.