Closed zpm1066 closed 2 years ago
Hi,
thanks for letting me know. After doing some test, I think I can reproduce this with one of my files. One file just don't show up in the files list and is named .filename.p12.icloud
(only visible when I remove the file name filter). However, it is visible in the Files App and on my Mac with the correct name filename.p12
.
Seems some API has changed and I need to read some docs...
Hint for myself: https://stackoverflow.com/questions/27616983/hidden-files-with-icloud-extension-in-ubiquity-container
@philipparndt, You're welcome! I haven't used the macOS version of MQTTAnalyzer yet but will try it out. It look like that the EasyMQTT uses the same p12 picker as MQTTAnalyzer. The iOS version of EasyMQTT picks and displays the p12 (via a local share) correctly and work but the macOS version doesn't.
Thanks of looking into the issue. Much appreciated!
The macOS version of MQTTAnalyzer requires macOS Monterey. Any chance that that you also support macOS Big Sur, like EasyMQTT? Thanks.
I have VMware ESXi, so I'll try out MQTTAnalyzer under Monterey VM.
I've pushed an iOS update to TestFlight. Do you like to try it (iCloud is updated)? https://testflight.apple.com/join/dsvlFCPU
I think there are some more changes necessary but at least this should give us a hint whether the ubiquity files are the reason.
Yes, I'd be glad to test a new version of MQTTAnalyzer. Please share the Testflight invite code. I'll try iy out on Monterey.
btw - I expect the following may have been fixed but wanted to share. I tried running MQTTAnalyzer under Monterey VM.
A few issues on both the iOS and macOS versions that I can consistently reproduce.
- Actually, just clicking on the "Save" button whilst in the "Edit broker" dialog crashes the app.
This is already fixed and waits for the Apple approval
Testflight is asking for a TestFlight invitation code. How do I proceed to get a code? Thanks.
OK. I got it on the iPad. Thanks
OK. I've sent a screenshot via Testflight that displays a p12 file but it doesn't get picked up.
Okay, I will add some debug messages and upload a new version.
I've added some logging information to the certificate file selector. There is an "Cut" button to clear the log and copy the messages to the clipboard.
Can you please:
Thanks for the update. Some success. The reason for the p12 not appearing in MQTTAnalyzer was because I had created a MQTTAnalyzer folder and wasn't using the one owned by MQTTAnalyzer app. My bad!
MQTT broker configuration:
client.crt is signed by ca.crt (CA), with CN different from that of client.crt & broker.crt. client.crt and broker.crt have the same CN.
Here are some test results:
kCFStreamErrorDomainSSL error -9807
and connection fails.MQQT broker logs output the following error:
MQTTAnalyzer with SSL & Allow untrusted
works fine, as expected.
MQTT TLS/SSL connections work fine using EasyMQTT TLS/SSL & same client.p12
Local mosquito_pub/mosquitto_sub with the ca.crt (CA) & client.crt/client.key (same as p12)
also works fine.
How do I resolve the OpenSSL Error: error:14094416:SSL routines:ssl3_read_bytes:sslv3 alert certificate unknown
error? Thanks.
Are you using a self-signed CA? Are you using an IP address, hostname, or a FQDN in your broker certificate? Currently, I’m using a self-signed CA and an internal IP address in my broker certificate. When “Allow untrusted” is disabled, the connection to the broker fails.
self-signed certificates are working with Allow untrusted=false
when you import the root certificate to your iOS device and set the certificate trust settings.
I've installed the self-signed CA certificate in iOS 15.3.1 and trusted the certificate in Settings->General>About->Certificate Trust Settings but MQTTAnalyzer still throws the following error when Allow untrusted=false
.
Same error as before.
Any suggestions what to try next? Thanks.
I've installed the self-signed CA certificate in iOS 15.3.1 and trusted the certificate in Settings->General>About->Certificate Trust Settings but MQTTAnalyzer still throws the following error when
Allow untrusted=false
.Same error as before.
Any suggestions what to try next? Thanks.
Try to verify your subject alt name. Have a look at this gist: https://gist.github.com/philipparndt/41e3f1948d94a3fdfc30c80a3f5a3136
Unfortunately i'm experiencing this issue on iOS 16 cant select a cert *.p12 neither from Local nor from iCloud. Any hints? (using latest version from the App Store)
Hi, I'm unable to import a
.p12
certificate file from Local or iCloud locations (after creating a MQTTAnalyzer folder).Local
, I can browse and attempt to select a.p12
file but it doesn't show up inMQTTAnalyzer
.iCloud
selected and thenRefresh
, .p12 doesn't show up. However, I can useLocal
and browse to theMQTTAnalyzer
folder iniCloud
, select the.p12
file but it doesn't show up inMQTTAnalyzer
. Same as in 1.Am I doing something wrong in selecting the .
p12
file?MQTTAnalyzer
looks quite impressive but unfortunately I seem to be running into a few issues. Thanks.