I am trying to run an CLI command from one of my packages installed in a Bitbucket Pipeline in a cloud hosted server which I do not have access to. That command should push a bunch of files to a remote server.
The pipeline always fail with
Caused by: javax.net.ssl.SSLException: java.lang.RuntimeException: Unexpected error: java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty
I have seen the following post on bitbucket and stack overflow SSL Connection fail
Unable to execute outbound SSL
Error - trustAnchors parameter must be non-empty
And it looks like I need to execute some command on the server, but as my hosting is cloud, and since I do not quite fully understand what this is (it looks like JAVA ? but on my machine the command work and I do not have JAVA installed ?) I wonder what could I do to make it works, I have no knowledge in this domain.
I contacted bitbucket, which pointed me to Here
telling me to use You need to use the properties javax.net.debug=all
and javax.net.ssl.trustStore=/path/to/Truststore
to debug the issue.
but again, I do not have java installed in my machine, and it works. also I am using a simple image image: circleci/node:12-browsers
which do not include java, so java/javax
command are no found. And I am stuck.
Thank your for your help.