--- title: Set up routing policy for automated certificate management description: Set up a routing policy to automate your Certificate Inventory and Management. Creating a policy based on Certificate Authority \(CA\), environment, and other features confirms efficient TLS certificate management. locale: en-US canonical_url: https://www.servicenow.com/docs/r/australia/it-operations-management/discovery/setup-routing-policy.html release: australia product: Discovery classification: discovery topic_type: task last_updated: "2026-03-12" reading_time_minutes: 3 breadcrumb: [Automated certificate management for TLS certificates, Configure, Certificate Inventory and Management, ITOM Visibility, IT Operations Management] --- # Set up routing policy for automated certificate management Set up a routing policy to automate your Certificate Inventory and Management. Creating a policy based on Certificate Authority \(CA\), environment, and other features confirms efficient TLS certificate management. ## Before you begin Role required: pki\_admin or admin ## About this task Use the routing policy to determine which CA must be contacted for certificate operations. It contains the CA, CA URL, Credential, Approval Group, Assignment Group, and CSR attributes. The routing policy triggers the flow for requesting certificates for specific CAs. A certificate request is considered a duplicate if there is another certificate task with the same domain name that is still in progress. Duplicate certificate requests aren't allowed. However, you can override this setting by checking the Allow duplicate requests check box. **Note:** - Approvals are only supported in the Fulfiller approval experience at this time. See a table of fields that go into the routing policies at, [Certificate routing policy form for EJBCA ACME](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/it-operations-management/discovery/certificate-routing-policy-form-table.md). - When the CA's certificates needs to be picked up by Discovery, the same credential alias must be set as the CredentialAlias argument on the corresponding CA discovery pattern. Both associations use the identical alias value, one enables authentication for discovery, the other for automated certificate requests. ## Procedure 1. Navigate to **All** > **Certificate Management** > **Certificate Routing Policies**. 2. Select **New** and fill in the required fields on the form. While requests for new certificates and certificate renewal can be automated, many PKI teams prefer human validation before fulfillment. If so, select the **Approval required** check box. **Note:** Organization, Organizational Unit, Locality, State, Country, and Email accept comma-separated values. \* will be considered as any. Subject common name and Subject alternative name are supported with RegEx. The RegEx format has the following restrictions: - It should not contain commas. - It should not start and end with a forward slash \(/\) and \* matches any. - For more inforamtion about the fields and values on a routing policy form, see [.](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/it-operations-management/discovery/certificate-routing-policy-form-table.md) 3. The following CSR attributes are matched with the entries in the Routing Policy \[sn\_disco\_certmgmt\_routing\_policy\] table: - Organization - Organizational Unit - Locality - State - Country - Email - Environment - Certificate Purpose\(internal/external\) - Subject common name - Subject alternative name **Note:** For Entrust CA Gateway, there are also these fields: Certificate Authority Identifier, Certificate Profile, and Certificate Format. For Microsoft CA also use these fields: Certificate Authority, CA template name, CA Host IP, Credential, and CSR attributes. For DigiCert, the routing policy also requires a Certificate Authority API URL field to handle automated processes and revocation flows. 4. The following options may occur.
| **If a single routing policy matches** | Verify the following conditions: - Validate the subject common name using the RegEx pattern provided in the Routing Policy table, domain name, or \*. - Check for certificate request validity period not greater than the maximum validity period in the Routing Policy table. - Check for duplicate Certificate Request is allowed flag in the Routing Policy table. |
| **If multiple routing policies are eligible** | The task is assigned to the default approver group. |
| **If there is no routing policy found** | The task is assigned to the default approver group. |
| **If single policy matches and approval needed flag is true** | The task is assigned to the task approval group defined in the routing policy. |