Skip to content

Latest commit

 

History

History
10 lines (7 loc) · 612 Bytes

extract_private_key.md

File metadata and controls

10 lines (7 loc) · 612 Bytes

Extract Private Key

Inbound-Saml module needs the private key to access the persistence API through UMA flow.

You can check the KID for RS256 Navigating to OpenId > Clients > Api RP, on the Signing / Encryption tabs there is a json showing the kid for the rs 256.

  1. Dump the private keys on screen (i.e. openssl pkcs12 -info --nocerts -in /etc/certs/api-rp.pkcs12 -nodes );
  2. Find the private key with rs_256 alg;
  3. Take note of the kid, needed to setup inbound-saml module;
  4. Copy from -----BEGIN PRIVATE KEY----- to -----END PRIVATE KEY----- and save it to a file (i.e. rs256pvk.pem).