The certificate is set but keeps reporting errors,
but I used Mac tools to debug MQTT just fine!
Environment
Operating system: iOS, tvOS, macOS
Software version:
Package Manager: Cocoapods, Carthage, Manual
MQTTClient version:
MQTT Broker used: mosquitto, HiveMQ, vernemq, ...
Link to logs
Create a GIST which is a paste of your logs, and link them here.
Please do NOT paste your full logs here, it will make issue very long and hard to read!
//证书1 NSString ca = [[NSBundle mainBundle] pathForResource:@"AmazonRootCA1" ofType:@"pem"]; NSString ca1 = [[NSBundle mainBundle] pathForResource:@"certificate" ofType:@"der"]; NSString *ca2 = [[NSBundle mainBundle] pathForResource:@"client" ofType:@"key"];
Short description
The certificate is set but keeps reporting errors, but I used Mac tools to debug MQTT just fine!
Environment
Link to logs
Create a GIST which is a paste of your logs, and link them here. Please do NOT paste your full logs here, it will make issue very long and hard to read!
Steps to reproduce
Expected behaviour
Actual behaviour
Other information