I\'m learning AWS and I have a Python script that work only if there are no policies attached to the certificate of the thing. Here part of the code that configure the MQTT: