Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Pipeline CLI command return "the trustAnchors parameter must be non-empty"

Hello,

So I am trying to run an CLI command from one of my packages installed in the pipeline to upload some file to an external sources.

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
https://confluence.atlassian.com/jirakb/ssl-connections-fail-from-jira-server-to-external-systems-218269293.html
https://confluence.atlassian.com/confkb/unable-to-establish-outbound-ssl-connections-due-to-java-security-invalidalgorithmparameterexception-969519474.html
https://stackoverflow.com/questions/6784463/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, I wonder what could I do to make it works, I have no big knowledge in this domain.

Thank your for your help.

1 answer

0 votes
Caroline R Atlassian Team Jul 02, 2021

Hi, Federico! 

I saw that you created a ticket with our support related to the same question, so to avoid any possible misunderstandings or miscommunication that may arise from discussing the same matter on two different platforms, let’s focus on the ticket instead.

Once the ticket is resolved, feel free to share the resolution here to help other community members that may have the same issue/question. 

Kind regards,
Caroline

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Bitbucket Pipelines

Bitbucket Pipelines Runners is now in open beta

We are excited to announce the open beta program for self-hosted runners. Bitbucket Pipelines Runners is available to everyone. Please try it and let us know your feedback. If you have any issue...

3,650 views 63 19
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you