You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There's an edge case in LDAP SSL configuration. If you set...
```
auth_ldap.use_ssl = true
```
...but nothing else, you'll eventually hit this error:
```
{error, {options, incompatible,
[{verify, verify_peer}, {cacerts, undefined}]}}
```
This is due to the fact that without any SSL options, the
`rabbit_ssl_options:fix_client/1` function won't be hit, and thus system
certs won't be added via `public_key:cacerts_get/0` and `cacerts`
option.
This PR adds `verify, verify_peer` as the default SSL option and ensures
that `rabbit_ssl_options:fix_client/1` is always called. Since
`verify_peer` is the default since OTP 26, we can just add it here.
0 commit comments