Created
September 28, 2023 06:03
-
-
Save zmstone/6bc851db83f0ad82534f87a1313e583d to your computer and use it in GitHub Desktop.
emqx v5.3 enable ldap and saml sso
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
dashboard.sso = { | |
ldap { | |
backend = ldap | |
base_dn = a | |
enable = false | |
filter = "(& (objectClass=person) (uid=${username}))" | |
pool_size = 8 | |
query_timeout = 5000 | |
request_timeout = 10000 | |
server = "localhost:389" | |
ssl { | |
ciphers = [] | |
depth = 10 | |
enable = true | |
hibernate_after = 5000 | |
log_level = notice | |
reuse_sessions = true | |
secure_renegotiate = true | |
verify = verify_peer | |
versions = [tlsv1.3, tlsv1.2] | |
} | |
username = b | |
} | |
saml { | |
backend = saml | |
dashboard_addr = "https://zmd:18084" | |
enable = true | |
idp_metadata_url = "https://login.microsoftonline.com/xxx/federationmetadata/2007-06/federationmetadata.xml?appid=xxx" | |
sp_private_key = "_build/dev-run/emqx-enterprise/data/certs/sso/saml/key-45AAC5A63C3175A7" | |
sp_public_key = "_build/dev-run/emqx-enterprise/data/certs/sso/saml/cert-6F324A75C647FB82" | |
sp_sign_request = true | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment