confluence mobile app doesn't work on Android phone
Asked by zhijie.fang:

We tried android app to connect our confluence-server ,also show can't get a secure connection, we have tried to install the cert but still doesn't work, our server has a public cert and trusted by default, so IOS version can directly use the app.

It seems that the app haven't tried to connect to the server at all.

I tried to use the latest version 0.1.40 on two different phones,one is HuaWei and another is Xiaomi

Android version is 8.0

Anyone can help?


Answers:
author: Basisdienste 2 Basisdienste und Service
body: Hi,

I have exact the same Problem. The app works on our IOS devices but on our android devices i have the same problem as described above with one differnce.  
When i try to connect the first time everything works fine. When i then close the app it can't connect with the error "Can't get a secure connection". When i now try to connect to our test server i will see the login to the test server. Then i cancel the login and can now connect again to our production server. After closing the app a new connection to the production server won't be possible.  
Please can you tell what the solution is?

Regards  
Katja

comments: author: Basisdienste 2 Basisdienste und Service
body: Hi,

i had to configure the whole chain in Apache on the reverse proxy with SSLCertificateChainFile /etc/apache2/ssl-chain.crt and not just the intermediate certificate. Because it is not a self signed certificate and every browser and IOS is fine with my certificate i didn't expect this.

Regards  
Katja


author: Shannon S
body: Katja,

Thank you for the follow-up on your solution. I am speaking with the team right now to see if this is a known issue. I will follow-up with you on Monday with my findings!

Thank you for your patience.

Regards,

Shannon


author: Shannon S
body: Hello Katja,

I spoke with the team, and it seems there's a known issue for Android where you have to install the intermediate cert on the server itself to get it to work.

* [How to check certificate for mobile app](https://confluence.atlassian.com/confkb/how-to-check-certificate-for-mobile-app-954247493.html)

Can you confirm if that's the issue you ran into?

Regards,

Shannon


author: Basisdienste 2 Basisdienste und Service
body: Hello Shannon,

yes that exactly describes my problem.

Regards

Katja


author: Shannon S
body: Katja,

Thank you for confirming that.

Unfortunately the requirement comes from Android itself. This page below describes some common issues which are Android specific. In this case, you're affected by **Missing intermediate certificate authority**:

* [Security with HTTPS and SSL \> Missing intermediate certificate authority](https://developer.android.com/training/articles/security-ssl.html#MissingCa)

I hope that clarifies things even further, but I am happy to hear you were able to get your cert working with your Android device.

Regards,

Shannon


author: Shannon S
body: Hi there,

Provided you've met all requirements in [Confluence Mobile](https://confluence.atlassian.com/doc/confluence-mobile-284365706.html) documentation and you're running 6.8 or higher, it should work.

Is there error message the one you're getting from the below article?

* ['Can't get a secure connection' error on Confluence Server mobile app](https://confluence.atlassian.com/confkb/can-t-get-a-secure-connection-error-on-confluence-server-mobile-app-940695063.html)

I assume this is the article you saw since you mentioned installing the certificate, but I want to verify. Please review it and let me know if you meet all the requirements listed there.

Regards,

Shannon

comments: author: zhijie.fang
body: Hi,Shannon

Thanks for the quick reply.Below is some snapshot.

![2018-06-29 09.02.12.png](https://community.atlassian.com/t5/image/serverpage/image-id/25722iD43F1726C24492DC/image-size/large?v=v2&px=999 "2018-06-29 09.02.12.png")![WechatIMG615.jpeg](https://community.atlassian.com/t5/image/serverpage/image-id/25721i037688A705FE601F/image-size/large?v=v2&px=999 "WechatIMG615.jpeg")![WechatIMG616.jpeg](https://community.atlassian.com/t5/image/serverpage/image-id/25723i4E1928846BAECDFB/image-size/large?v=v2&px=999 "WechatIMG616.jpeg")![WechatIMG617.jpeg](https://community.atlassian.com/t5/image/serverpage/image-id/25724i0082FF6BB31D2644/image-size/large?v=v2&px=999 "WechatIMG617.jpeg")

Sorry for all Chinese part since most our users are Chinese.Our website has a regular cert from godaddy so I don't think we need install any cert on mobile device.You can see we visit the https link directly through chrome on the computer show security icon.Also for IOS devices,the app works well.But Android version it always show problem,Both Huawei and Xiaomi we tried.To check I installed our cert on my phone,but nothing changed.It seems like the android version didn't try to connect the website at all then directly show cannot get a secure connection.


author: Shannon S
body: Thank you and apologies for the delay.

I want to take a deeper look at this so I have created a support ticket for you. Our team will review it and get in touch with you with any more information.

Regards,

Shannon


author: Damien Tan
body: hey [@zhijie.fang](/t5/user/viewprofilepage/user-id/1265622)

I see Shannon has created a support ticket for you regarding this issue and I've worked on it and gotten some clue as the SSL Cert doesn't seem to be correct. I've shared my findings with you in the ticket but haven't gotten your reply thus far. I wonder if you've received my reply from the support ticket.

You can check it in the link below after logging in:

<https://getsupport.atlassian.com/servicedesk/customer/user/requests?status=open>