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

Getting fatal error: “certificate verification …” while trying to use ftp on bitbucket pipeline


I've created a ci pipeline for my ReactJS project on bitbucket. Everything goes well till step 2 while pipeline tries to deploy the build on my Bluehost VPS. Here is log

INFO: Enabling debug mode.
INFO: Starting FTP deployment to
+ run_pipe
+ info 'Starting FTP deployment to'
+ echo -e '\e[36mINFO: Starting FTP deployment to\e[0m'
+ set +e
+ lftp -u 'username,password' -e 'mirror --delete-first -vvv -R / path' server-domain
mirror: Fatal error: Certificate verification: subjectAltName does not match ‘’ (0F:4A:6E:B0:30:BE:B2:93:79:CB:4D:0F:A2:7B:2F:7E:54:71:13:C1)
+ set -e
+ [[ 0 == \0 ]]
+ success 'Deployment finished.'
+ echo -e '\e[32m✔ Deployment finished.\e[0m'
+ exit 0
✔ Deployment finished.

I've already tried creating an lftp.conf file with set ssl:check-hostname false; but it didn't work.

1 answer

0 votes

Hi @waleed bin khalid . This is weird. The certificate for your host looks valid. It looks like lftp fails to fetch this certificate for some reason. Are you able to connect with lftp you your server manually?

@Alexander Zhukov Yes I'm able to connect with it using FileZilla 

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Apps & Integrations

🍻🍂Apptoberfest Update: Upcoming Virtual Events 🎉

Hello Community! I hope you've been enjoying the 🍂Apptoberfestivities🍂 (I know I have!) The event is heating up next week with a series of virtual events that we're calling the 🍻🍂Partner App ...

141 views 1 12
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