I'm working on configuring SAML authentication for my Elastic Stack deployment, and I've come across the need to generate a SAML certificate and key. The documentation suggests using the openssl req command, but I'm not sure where and how to run this command on Elastic Cloud.
openssl req -new -x509 -days 3650 -nodes -sha256 -out saml-sign.crt -keyout saml-sign.key
Could someone please explain how to use openssl to create a SAML certificate for Elastic Stack? Specifically, I would like to know where to run it, whether it's on a Linux terminal, a virtual machine, or elsewhere.
Thank you in advance.