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

Next challenges

Recent achievements

  • Global
  • Personal

Recognition

  • Give kudos
  • Received
  • Given

Leaderboard

  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

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

How to plugin the SSL certificate into bitbucket-pipelines.yml file as the tests are over HTTPS?

I have got tests which needs to run over HTTPS REST API webservices, can anyone tell me the step-by-step instructions to plugin the SSL certificate that I have got with .pfx & .crt files.

2 answers

1 accepted

1 vote
Answer accepted

Hello @Bhala 

We got that resolved after adding the following line to the bitbucket pipeline yml file

  • keytool -importcert -trustcacerts -noprompt -alias -ouralias -file OUR.crt -keystore $JAVA_HOME/jre/lib/security/cacerts -storepass ourpass

Thanks a lot for saving my time. Much appreciated.

0 votes

Hello @Bhala ! Right now, there are no embedded way to use ca certs , but you can use an image where your certificates are installed.

Look at this thread and doc, it might help you:

https://stackoverflow.com/questions/20078185/using-keytool-to-install-a-security-certificate#20128324

https://docs.docker.com/registry/insecure/#use-self-signed-certificates

 

However, we will report about this feature interest, I guess, this would be really kill-feature

Regards, Galyna

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Jira

Announcing the waitlist for Jira Work Management

Hey there Cloud Community members! We’re excited to give you the first glimpse of the new home for business teams on Jira — Jira Work Management. Jira Work Management is the next generation of J...

127 views 2 7
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