🎄 Happy Holidays! 🥳

Most of Solace is closed December 24–January 1 so our employees can spend time with their families. We will re-open Thursday, January 2, 2024. Please expect slower response times during this period and open a support ticket for anything needing immediate assistance.

Happy Holidays!

Please note: most of Solace is closed December 25–January 2, and will re-open Tuesday, January 3, 2023.

How to set ssl validate certificate to false in python

DhyanandraSingh
DhyanandraSingh Member Posts: 3
edited February 2022 in Connectors & Integrations #1

I am Implementing Solace pubsub solution in python and trying to disable ssl_validate_vertificate . It is working fine in Java but not how to set same in python I tried this way:

"solace.messaging.ssl_validate_certificate":False

"solace.messaging.ssl_validate_certificate_date":False

But it's not working. getting error "Session creation unsuccessful, failed to load trust store."

Tagged:

Comments

  • Tamimi
    Tamimi Member, Administrator, Employee Posts: 541 admin

    Hey @DhyanandraSingh ! in your broker properties config, can you try to disable ssl validation using
    "solace.messaging.tls.cert-validated": False and "solace.messaging.tls.cert-validated-date": False. Let me know if this solves your issue!

  • DhyanandraSingh
    DhyanandraSingh Member Posts: 3

    Thanks @Tamimi, It worked...