Commit 68d6e84
committed
17103 FIX Could not log in with SAML2 if signing certificate was in trust store
Signing the SAML2 authentication request was failing if the certificate
used for signing was also in the Checkmk CA trust store. The reason lies
in the way that pysaml2 invokes xmlsec1, which causes OpenSSL to try to
sign the request using the public key from the cert store.
As a workaround, we unset the SSL_CERT_FILE environment variable, so
OpenSSL doesn't find the certificate.
See also:
- lsh123/xmlsec#939
- IdentityPython/pysaml2#998
SUP-24452
Change-Id: Icf8fccefc05680b246d932a565161cf22a45786d1 parent bd311b6 commit 68d6e84
1 file changed
Lines changed: 19 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
0 commit comments