Open mmreneb86 opened 1 year ago
Hi @mmreneb86 Do you see the p12 file in the "files" list? Can you show me a screenshot?
Hi @philipparndt, sure.
The filebrowser sees it. Both on iCloud and on iPhone. But selecting it results in no change to the screen you're returning to. It's almost as if I choose to "Cancel".
What happens when you open the file in the iOS file browser outside of the MQTTAnalyzer app? It should show you the file type to be a PKCS#12 file.
The file browser should also show a certificate symbol for the file:
I've create an example file by following this guide: https://github.com/philipparndt/mqtt-analyzer/tree/main/Docs/examples/client-certs
Maybe you can try if you can see this file (it is useless as the ca.crt is untrusted but you can check the file type): mqtt-example.p12.zip
I don't expect Windows to be the problem because you mentioned that you have used OpenSSL which is totally fine.
Thanks @philipparndt, I'll have a look at the link you've provided. In the mean time.
This is how it looks when I single tap in the file browser.
This is how it looks when I "Get Info".
This is when I "Quick Look" it.
Perhaps it is because my iPhone is not in developer mode? I only want to run MQTTAnalyzer to monitor Topics as a debug tool for my IoT device. I'm not doing any iOS app development.
Maybe you can try if you can see this file (it is useless as the ca.crt is untrusted but you can check the file type): mqtt-example.p12.zip
This sadly shows the same behaviour. The p12 is not shown in the app.
Just tested this on an iPhone 12 (previously an iPhone XR). Still doesn't work.
Has the iOS version regressed recently?
I don't have another broker + client keystore to confirm whether the app works over TLS. I know my broker works. And I know the keys are valid, since my ESP32 devices and MQTTX on Windows 11 can use their respective certs to connect to my broker. I've seen this app work over unsecured connections. But I've never seen this app work over TLS. Is there any test environment I can receive a keystore for and connect to?
Somehow the file browser does not recognize the file type when it is opened from the App. I do not have a idea why this happens yet.
Can you try to copy the file on your device. I think this can still be done using iTunes on Windows https://support.apple.com/en-us/HT201301. On macOS this can be done using the Finder.
No dice.
Would it help if I created a temporary certificate to my AWS IOT broker to try?
Running out of ideas here.
I am having the same issues. Is there any progress on this subject?
Hi @ajongen at the moment there is no progress here sorry.
same problem here, any progress?
Any updates on this?
I created a p12 file using the suggested commandline (using OpenSSL on Windows11). pem.cert and private.key came from AWS IOT thing creation wizard.
When I try to select it as a Client PKCS#12 file in MQTTAnalyzer, the app does not show it as being selected/loaded. No confirmation is given that the .p12 file I just selected will be used by the app. The same issue for both local and icloud options.
App doesn't show to need any specific iOS permissions, so there is nothing to experiment with there for me.
I tried; Recreating the .p12 file Rebooting Making sure I had 500MB left on iCloud, clearing sync queue, and rebooting. Uninstalling and reinstalling app.
None of it works.
I can try creating the .p12 file from Ubuntu tomorrow, but the complete lack of response from the app makes me think that is not the culprit here.
Any suggestions?