Closed n8henrie closed 8 years ago
The switch allows you to control your TLS settings more granular. If not switched on, it uses the default iOS settings and uses the iOS keychain for certificate validation only.
Thanks for identifying the bug.
In version 9.1.6 client certificates only work with custom security policy ckrey/MQTT-Client-Framework#160
The documentation needs to be updated to state client certificates are independent of the custom security policy settings.
As per owntracks/ios#379, I'm having trouble using a TLS client certificate with Owntracks for iOS 9.1.6. My setup used to work, but something changed in the last few months.
Following the documentation recommended setup, I continuously get an error with Mosquitto 1.4.9 and OwnTracks, though I'm still able to connect properly with
mosquitto_pub
(as long as I specify the proper client certs / files)....
OwnTracks shows:
Mosquitto shows:
The reason I'm raising an issue here is that I can see in the screenshots in the issue referenced above that others do have
Use Custom Security Policy
enabled, and I find that enabling it makes everything work as expected, even with security measures enabled likeValidate Certificate Chain
andValidate Domain Name
.I'm confused -- should I have
Use Custom Security Policy
disabled (as per the docs), or should I leave it enabled (as per other users, and what seems to be working)? If the latter, should the docs be updated to reflect this?What exactly does this switch change? I've tried reviewing the source code, but I'm afraid it's a bit over my head.
Thanks for any help you can provide.