I am trying to establish a connection with a PHP script of mine in Java using the secure socket layer (HTTPS), but I have found out that to ensure maximum security/validity
That article contains the code for changing trust store's password and adding other certificates there:
thetechawesomeness.ideasmatter.info