Starting in Appian 7.11, SAML Authentication is configurable through the Administration Console. This configuration requires a Service Provider Signing Certificate to be provided. This article describes some options for generating a self-signed certificate in the required PEM format. Note that this certificate is only used for signing SAML requests and responses. For more information, review the SAML Configuration documentation as well as KB-1153 SAML Authentication FAQ.
A certificate in the PEM format can be generated using an OpenSSL-compatible tool, or a certificate in a different format can be converted into the PEM format.
To generate a certificate using Apache OpenSSL:
C:\apache\conf\openssl.cnf
CONFIG_FILE_LOCATION
bin
openssl req -x509 -newkey rsa:2048 -keyout my-certificate.pem -out my-certificate.pem -days 3650 -config CONFIG_FILE_LOCATION
-----BEGIN RSA PRIVATE KEY-----
openssl rsa -in my-certificate.pem
-----END RSA PRIVATE KEY-----
-----BEGIN ENCRYPTED PRIVATE KEY-----
-----END ENCRYPTED PRIVATE KEY-----
To generate a certificate using Windows Internet Information Services (IIS):
openssl pkcs12 -in my-certificate.pfx -out my-certificate.pem -nodes
This article applies to Appian 7.11 and later.
Last Reviewed: December 2023