Learn more about these different git repos.
Other Git URLs
9484047
@@ -422,8 +422,6 @@
MQTT_CA_CERTS = None
MQTT_CERTFILE = None
MQTT_KEYFILE = None
- MQTT_CERT_REQS = None
- MQTT_TLS_VERSION = None
MQTT_CIPHERS = None
# Settings for Stomp message sending
We don't want those variables to be in default config, as lib/notify.py will initialize those correctly with python ssl lib if nothing is specified in pagure.cfg :
mqtt_cert_reqs = pagure_config.get("MQTT_CERT_REQS", ssl.CERT_REQUIRED) mqtt_tls_version = pagure_config.get( "MQTT_TLS_VERSION", ssl.PROTOCOL_TLSv1_2)
Having those two variables in default config set to None breaks mqtt notification (as they don't get correct default values from ssl)
Signed-off-by: Fabian Arrotin fabian.arrotin@arrfab.net
Thanks! :)
Pull-Request has been merged by pingou
We don't want those variables to be in default config, as lib/notify.py will initialize those correctly with python ssl lib if nothing is specified in pagure.cfg :
mqtt_cert_reqs = pagure_config.get("MQTT_CERT_REQS", ssl.CERT_REQUIRED)
mqtt_tls_version = pagure_config.get( "MQTT_TLS_VERSION", ssl.PROTOCOL_TLSv1_2)
Having those two variables in default config set to None breaks mqtt notification (as they don't get correct default values from ssl)
Signed-off-by: Fabian Arrotin fabian.arrotin@arrfab.net