Search found 1 match
Search found 1 match • Page 1 of 1
- Thu Jan 03, 2019 11:33 pm
- Forum: General Discussion and Questions
- Topic: Connecting to AWS with MQTT
- Replies: 26
- Views: 11208
I have pretty much done exactly as you have stated in your example (james_km69) KEY_PATH = "62c4233362-private.pem.key" CERT_PATH = "62c4233362-certificate.pem.crt " with open(KEY_PATH, 'r') as f: key1 = f.read() print(key1) with open(CERT_PATH, 'r') as f: cert1 = f.read() print(cert1) client = MQTT...