Search found 1 match

by DrKarma
Thu Jan 03, 2019 11:33 pm
Forum: General Discussion and Questions
Topic: Connecting to AWS with MQTT
Replies: 11
Views: 3373

Re: Connecting to AWS with MQTT

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...