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

using self signed certificate in bitbucket-pipelines.yml

Hi All,

I want to use a private repository to store docker images. Unfortunately it has self signed certificate only.  How can I accept this certificate in my bitbucket-pipelines.yml? 

In gitlab there is an opportunity to set parameters for docker service like this: 

services:                                                                                                                                          
 - name: docker:dind                       
         command: ["--insecure-registry=fqdn_of_registry:port"]  

Is there a similar method in bitbucket? 

1 answer

0 votes

Hi Zamek,

Try following the instructions here: https://docs.docker.com/registry/insecure/#use-self-signed-certificates

There may be some additional configuration required, so let me know how it goes. At the moment we don't allow setting Docker daemon flags, but those instructions don't appear to require changing any flags.

 

Thanks,

Phil

Hi Philip,

I could implement self signed certificate handling in gitlab. I think so it is very important, because most of the users doesn't have a certified server.  AFAIK docker daemon needs to notify that sites have no signed certificate.  Until my bitbucket-pipelines.yml entering to a stages, docker daemon already started. Is there any other method, to notify daemon insecure sites? 

 

thx,

Zamek

Hi Zemek,

Unfortunately not, for the time being.

I see you've already started following the related feature request for this. So, I'd say that's the best place to watch for updates on us adding support.

Thanks,

Phil

Hi Philip,

Yes, thanks I found it later. 

thx,

Zamek

any updates on this.. i don't need an insecure route but a self signed ssl cert should be configable with bitbucket pipeline's docker.

Like Danny Thuering likes this

Suggest an answer

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

New improvements to user management in Bitbucket Cloud 👥

Hey Community! We’re willing to wager that quite a few of you not only use Bitbucket, but administer it too. Our team is excited to share that we’ll be releasing improvements throughout this month of...

3,717 views 10 16
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