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 | ||
tutorial:adm:modules_crt_lrt_notification [2018/02/19 22:30] poulm |
tutorial:adm:modules_crt_lrt_notification [2019/11/07 14:12] doischert |
||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== Modules - Certificates: | ||
+ | In this tutorial, we will create a new scheduled task. This scheduled task will send a notification a few days before a certificate expires. | ||
+ | |||
+ | ===== What do you need before you start ===== | ||
+ | * You need to have **CzechIdM 7.7.0** (and higher) installed. | ||
+ | * You need to be logged in as **admin** (or a user with superAdminRole). | ||
+ | * You need to enable the **Certificate** module. | ||
+ | |||
+ | ===== Create scheduled task ===== | ||
+ | In the left menu, select **Settings** and then **Task scheduler**. And click on **Add** button. | ||
+ | |||
+ | {{ : | ||
+ | |||
+ | In the popup window select **CertificateExpirationWarningOwnerTaskExecutor** and fill in how many days before a certificate expires you want to receive the notification, | ||
+ | |||
+ | {{ : | ||
+ | |||
+ | As you can see in the following picture, there is now new scheduled task with a parameter of 3 **days before**. In column **Action** there is a green button " | ||
+ | |||
+ | {{ : | ||
+ | |||
+ | Scheduled task will send a notification to the owner of the certificate when certificate would expire in 3 days. | ||
+ | |||
+ | {{ : | ||
+ | |||
+ | Congratulations, | ||
+ | |||
+ | ===== Notification configuration ===== | ||
+ | In this part of tutorial, there are mentioned a few certificate notifications, | ||
+ | The configuration of these notifications is in the left menu **Settings**-> | ||
+ | |||
+ | Configured notification topics (email by default): | ||
+ | * **certificateExpiredOwner** - When a certificate is expired, notification is sent to certificate owner. | ||
+ | * Can be disabled by property '' | ||
+ | * **certificateExpiredAdmin** - When a certificate is expired, notification is sent to certificate admin. | ||
+ | * Certificate admins are identities with role configured by property '' | ||
+ | * Can be disabled by property '' | ||
+ | * **certificateRevokedOwner** - When a certificate is revoked, notification is sent to certificate owner. | ||
+ | * Can be disabled by property '' | ||
+ | * **certificateRevokedAdmin** - When a certificate is revoked, notification is sent to certificate admin. | ||
+ | * Certificate admins are identities with role configured by property '' | ||
+ | * Can be disabled by property '' | ||
+ | * **certificateCreatedOwner** - When a certificate is created, notification is sent to certificate owner. | ||
+ | * Can be disabled by property '' | ||
+ | * **certificateCreatedAdmin** - When a certificate is created, notification is sent to certificate admin. | ||
+ | * Certificate admins are identities with role configured by property '' | ||
+ | * Can be disabled by property '' | ||
+ | * **requestApproved** - When a certificate request is approved, notification is sent to certificate owner. | ||
+ | * **requestDisapproved** - When a certificate request is disapproved, | ||
+ | * **certificateCreatedPasswordOwner** - notification with new password generates or filled during creating certificate. | ||
+ | |||
+ | Each topic has a template with the same name with '' |