Elasticsearch 6.3.1
Got SAML authentication up and running, final steps were to set up signing and encryption with the IdP.
Following guide and wanted to use JKS. Updated the realm setting in elasticsearch.yml and the secure settings in the elasticsearch keystore however was with met with errors and a failed startup.
java.lang.IllegalArgumentException: unknown secure setting [encryption.keystore.secure_password] did you mean [xpack.ssl.keystore.secure_password]?
java.lang.IllegalArgumentException: unknown secure setting [signing.keystore.secure_password] did you mean [xpack.ssl.keystore.secure_password]?
Did some digging around and looks like need to set the secure settings like in the tests with the full realm setting prefix.
xpack.security.authc.realms.realmname.signing.keystore.secure_password
xpack.security.authc.realms.realmname.encryption.keystore.secure_password
Perhaps the guide/documentation could be updated to make this easier to understand.