🎄 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.
Authentication using only certificate
Hi All,
Is it possible to authenticate using only certificate? without clientUsername and clientPassword, i tested below setup but got 401 authentication error. Any help is appreciated, thank you.
solace: java: host: tcps://192.168.133.64:55443 msgVpn: default connectRetries: -1 reconnectRetries: -1 apiProperties: SSL_VALIDATE_CERTIFICATE: true SSL_TRUST_STORE: SSL_TRUST_STORE_PASSWORD:
Answers
-
Have you set up client certificate authentication on the broker message vpn?
https://docs.solace.com/Overviews/Client-Authentication-Overview.htm#Client-Certificate
Are you using a self-managed broker or a PubSub+ Cloud instance?
0 -
You have configured the trust-store so that the API will validate the broker certificate.
You also need to set the AUTHENTICATION_SCHEME to AUTHENTICATION_SCHEME_CLIENT_CERTIFICATE and provide a key-store (SSL_KEY_STORE) that contains you client-certificate.
0