Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
devel:documentation:modules_crt [2023/01/23 13:56] kopro ADD new driver |
devel:documentation:modules_crt [2024/03/26 13:16] koulaj |
||
---|---|---|---|
Line 18: | Line 18: | ||
* **Cancel request** | * **Cancel request** | ||
* **Download certificate** | * **Download certificate** | ||
+ | * **Download secret** | ||
===== Architecture ===== | ===== Architecture ===== | ||
Line 48: | Line 49: | ||
* [[.: | * [[.: | ||
+ | |||
+ | ===== Download secret ===== | ||
+ | |||
+ | Secret to any certificate can be downloaded by user with permissions **CERTIFICATE_READ** | ||
+ | < | ||
+ | openssl genrsa -out private.key 2048 | ||
+ | openssl rsa -in private.key -outform PEM -pubout -out public.key | ||
+ | |||
+ | |||
+ | </ | ||
+ | |||
+ | Public key to be stored in IdM configuration is in file public.key, save it without lines starting with ----- and joined to one line (without spaces), private key to be used by external app for decrypting secret is in file private.key. | ||
+ | |||
+ | URL for secret download is **/ | ||
+ | |||
+ | < | ||
+ | " | ||
+ | " | ||
+ | } | ||
+ | |||
+ | |||
+ | </ | ||