|
The following example shows a Validate Certificates policy that includes a
Validate Certificates in Gateway's Store filter and an Alert
filter. This policy sends an email alert when it finds certificates that are due to expire:
|
Validating Gateway Certificates
|
Configuring an Email Alert
When this filter is successful, and finds certificates that are due to expire, it generates
an expired.certs.summary attribute, which contains a summary of certificates due
to expire. You can then use this attribute in the Alert filter to send an
email alert to the Enterprise Gateway administrators, as shown in the following example:
|
Configuring an Alert Message
|
You must also select a pre-configured email alert destination on the Destination
tab (for example, Email Gateway Administrators). For more details on configuring
email alert destinations, see the Alerts topic.
Configuring a Policy Execution Schedule
You can configure this policy to run at regular intervals (for example, once every day) using the
policy scheduler provided with the Enterprise Gateway. On the Services tab, right-click
the Enterprise Gateway process node, and select Add policy execution scheduler. The
following example runs the policy at 12 noon every day:
|
Configuring a Policy Schedule
|
For more details, see the Policy Execution
Scheduling topic.
Example Email Alert
An email alert is sent if any certificates that are due to expire are detected. The contents of
the email are obtained from the expired.certs.summary message attribute. For example:
|
| | |
|
Oracle Enterprise Gateway running on Roadrunner contains certificates that will expire in 730 days.
2 expired certificates in Gateway certificate store:
1. Cert details:
Cert issued to: CN=CA
Cert issued by: CN=CA
SHA1 fingerprint: 72:04:35:7C:A1:B1:C2:F5:E2:86:75:C4:83:12:9C:70:A8:D6:21:8E
MD5 fingerprint: 82:23:6F:59:F2:8F:C3:95:56:87:70:B5:51:3F:53:05
Subject Key Identifier (SKI): dfABenFoM0r7iJ3E1ZqU7HmKiyY=
Expires on: 2012-04-20
2. Cert details:
Cert issued to: CN=John Doe
Cert issued by: CN=CA
SHA1 fingerprint: 83:32:EB:3F:9C:15:87:FB:81:E1:D5:AC:CC:35:C3:F8:21:BB:DF:CD
MD5 fingerprint: 48:02:F6:3F:B9:64:EB:DA:DF:CF:F9:82:AC:CC:13:AB
Subject Key Identifier (SKI): HabJNMjAsBAWp4AcCq8yZkTEJKQ=
Expires on: 2012-04-20
| |
| | |
|
|