This article describes how to create demo certificates or extract certificates for the following use cases:
SSL server certificates for https communication:
For Identity Manager, SSL server certificate in PKCS#12 format.
Example: idm.p12
For Digital Access as identity provider, SSL server certificate and private key as PKCS#8 PEM files. Example: Certificate: da.pem, Private Key: da.key.pem
SAML certificates for signing and encryption:
For Identity Manager, SAML certificate in PKCS#12 format.
Example: idm.saml.p12
For Digital Access as identity provider, SAML certificate and private key as PKCS#8 PEM files. Example:Certificate: da.saml.pem, Private Key: da.saml.key.pem
For https communication, SSL server certificates are needed for Identity Manager and the identity provider. Follow the steps if you need to create (for demo use cases) or extract keys and certificates you got from a trusted PKI.
SSL server certificate for identity provider
Create SSL server certificates for identity provider
For demo use cases, it is sufficient to create a self-signed certificate including private keys.
Skip these steps if a real certificate exists.
Example - Create self-signed certificate for Digital Access:
Use the java keytool command to create a self-signed certificate including private keys:
Extract SSL server certificates for identity provider
Some identity providers, such as Digital Access, require the certificate and key in a separate file. Use the following commands if you want to extract them from the .p12 container.
For SAML, certificates for signing and encryption are needed for each service provider and for the identity provider. Follow the steps if you need to create (for demo use cases) or extract keys and certificates you got from a trusted PKI.
SAML certificate for identity provider
Create SAML certificates for identity provider
For SAML, the identity provider needs a certificate for signing and encryption.
For demo use cases, it is sufficient to create a self-signed certificate including private keys.
Skip these steps if a real certificate exists.
Example - Create SAML certificate for Digital Access:
Use the java keytool command to create a self-signed certificate including private keys:
Some identity providers, such as Digital Access, require the certificate and key in a separate file. Use the following commands if you want to extract them from the .p12 container.
Example - Extract SAML certificate for Digital Access: