This is the current opensearch_dashboards.yml file from my Server1 - which has the wazuh-dashboard:
server.host: Server1 IP
server.port: 443
opensearch.hosts: ["
https://Server2IP:9200", "
https://Server3IP:9200"]
opensearch.ssl.verificationMode: certificate
#opensearch.username: "kibanaserver"
#opensearch.password: 'PasswordFromServer3'
opensearch.requestHeadersAllowlist: ["securitytenant","Authorization"]
opensearch_security.multitenancy.enabled: true
opensearch_security.readonly_mode.roles: ["kibana_read_only"]
server.ssl.enabled: true
server.ssl.key: "/etc/wazuh-dashboard/certs/private.key"
server.ssl.certificate: "/etc/wazuh-dashboard/certs/certificate.crt"
opensearch.ssl.certificateAuthorities: ["/etc/wazuh-dashboard/certs/root-ca.pem"]
uiSettings.overrides.defaultRoute: /app/wz-home
#opensearch_security.auth.type: "saml"
server.xsrf.allowlist: ["/_opendistro/_security/saml/acs", "/_opendistro/_security/saml/logout", "/_opendistro/_securit>
opensearch_security.session.keepalive: false
opensearch_security.auth.multiple_auth_enabled: true
opensearch_security.auth.type: ["basicauth","saml"]
opensearch_security.cookie.secure: true
#opensearch_security.cookie.isSameSite: "Strict"
server.customResponseHeaders:
X-Content-Type-Options: "nosniff"