How can I generate a certificate for the SAML app?

26 views January 6, 2020 January 6, 2020 shradha 0

The certificate for the SAML app has to be a SHA256 base certificate. You can generate a new certificate via OpenSSL (if you don’t have already) and configure it in the plugin’s Custom Certificate tab. This will overwrite the default certificate of the app.

Given below are instructions to generate new SHA256 public and private keys via OpenSSL:

  1. Open a terminal and navigate to the bin directory of OpenSSL. If you don’t have OpenSSL installed, download it first.
  2. Run the command given below to generate SHA256 Keypair.
    openssl req -x509 -sha256 -nodes -days 365 -newkey rsa:2048 -keyout privateKey.key -out certificate.crt
  3. You will find the Public Key in certificate.crt and Private key in privateKey.key file in the bin directory.
  4. Open both files in notepad and copy the public and private key in the Custom Certificate tab of the plugin.
  5. Configure the updated certificate in IDP.

Was this helpful?