# Iphone : Import Key when connecting

**URL:** <https://forum.mattermost.com/t/iphone-import-key-when-connecting/8418>\
**Category:** Mobile Apps\
**Created:** [November 8, 2019, 9:05am UTC](https://forum.mattermost.com/t/iphone-import-key-when-connecting/8418 "2019-11-08T09:05:06Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![bibelo](https://avatars.discourse-cdn.com/v4/letter/b/ee7513/32.png) [@bibelo](https://forum.mattermost.com/u/bibelo)\
**Post date:** [November 8, 2019, 9:05am UTC](https://forum.mattermost.com/t/iphone-import-key-when-connecting/8418/1 "2019-11-08T09:05:06Z")

</div>

Hello

With the recent major iOS updates (it seems), now our iPhone users cannot connect anymore using the Mattermost app.

The Mattermost-Classic app works though.  
The Web and Android versions work.

The problem is that after entering the address of our self-hosted server, they are asked to **IMPORT KEY** ([see picture](https://i.imgur.com/F5K8Tpu.jpg))

 ![IMG_05EF3BFF43FB-1](https://us1.discourse-cdn.com/flex020/uploads/mattermost/original/2X/2/2b4800a71ec8fe0601ec9071ffea2e8791539d32.jpeg)

I find absolutely no information about that screen.

Then it sometimes crashes

Versions:  
iOS 13.2  
mattermost 1.24.0

Server: on Docker, behind our provider’s NGINX RP (and of course the NGINX docker RP)  
Version: 5.16.0  
Build Number: 5.16.3  
Build Date: Wed Nov 6 14:03:24 UTC 2019  
Build Hash: 533c7bb3e5847db423387abfcf983e3f947818eb  
Build Enterprise Ready: false  
DB Version: 5.16.0

Please if anyone has info!

Thank you

---

<div class="post-metadata">

**Author:** ![joewai.tye](https://avatars.discourse-cdn.com/v4/letter/j/3e96dc/32.png) [@joewai.tye](https://forum.mattermost.com/u/joewai.tye)\
**Post date:** [November 11, 2019, 9:07pm UTC](https://forum.mattermost.com/t/iphone-import-key-when-connecting/8418/2 "2019-11-11T21:07:32Z")

</div>

Hi @bibelo, is this happening to every user on iOS? Also, could you let us know what happens when you select ‘Import Key’?

If you are on HTTPS, is your Mattermost server using a self-signed or CA-signed cert?

---

<div class="post-metadata">

**Author:** ![bibelo](https://avatars.discourse-cdn.com/v4/letter/b/ee7513/32.png) [@bibelo](https://forum.mattermost.com/u/bibelo)\
**Post date:** [November 13, 2019, 8:42am UTC](https://forum.mattermost.com/t/iphone-import-key-when-connecting/8418/3 "2019-11-13T08:42:24Z")

</div>

Hello and thank you for your answer.

All users but one have this behavior. They are all on the same version of iOS and MM app.

I asked the user where it works, but he told me he didn’t do anything different (he’s the boss so I don’t believe him ^^)

They can’t do anything on the Import Key screen except cancel. I guess they have to type in something but I don’t know what.

The way it’s working is:  
Our provider has a NGINX RP, on which our HTTPS certificat is installed.  
The certificate is CA-signed, valid until 2020 for all our sites.  
Our provider had to add specific rules on their RP for notifications to be received by apps or www versions of MM. It worked fine for months.

Behind our provider’s RP, the communication is plain HTTP to our server where MM server is installed with Docker (thus 3 containers: www, app and db).

The server was on version 5.9 and it stopped working with the last iOS update. Then I upgraded the server to 5.16 hoping it’d solve the problem but issue is still here.

It works fine on all Android apps and Web versions.

Thank you in advance.

---

<div class="post-metadata">

**Author:** ![bibelo](https://avatars.discourse-cdn.com/v4/letter/b/ee7513/32.png) [@bibelo](https://forum.mattermost.com/u/bibelo)\
**Post date:** [November 19, 2019, 10:22pm UTC](https://forum.mattermost.com/t/iphone-import-key-when-connecting/8418/4 "2019-11-19T22:22:18Z")

</div>

Please Do you have ideas as to what is the cause of the problem?

---

<div class="post-metadata">

**Author:** ![bibelo](https://avatars.discourse-cdn.com/v4/letter/b/ee7513/32.png) [@bibelo](https://forum.mattermost.com/u/bibelo)\
**Post date:** [November 21, 2019, 11:48pm UTC](https://forum.mattermost.com/t/iphone-import-key-when-connecting/8418/5 "2019-11-21T23:48:29Z")

</div>

it seems the app was crashing and not all the users had updated their iOS.

Most of them are now OK except one or two.
