Managing SSH/SSL Schedules

In Key Manager Plus, you can create scheduled tasks to automatically perform operations such as SSH resources and SSL certificate discovery, certificate expiry notifications, vulnerability scans, and report generation at regular intervals. This document covers the following topics in detail:

1. Add Schedules

To add a schedule, follow the steps below:

  1. Navigate to the Schedule tab and click Add Schedule.
    ssh-key-schedules-1
  2. On the page that appears, enter the Schedule Name.
  3. In the Schedule Type dropdown, select the type of operation you want to schedule. The following options are available:

i. Key Rotation

  1. Select the keys directly or via the key groups for rotation. Ensure keys are assigned to avoid scheduling failures. Errors will appear in the Audit tab if any unassigned keys are scheduled.
  2. To automatically push the key files (private key, public key, or both the private and public keys) onto the associated users, enable the Push private key file to remote user account and/or Push public key file to remote user account option. You can also select the Use keyname as filename option.
  3. Configure the Recurrence Type, Start Time, and Start Date.
  4. Enter the email addresses for notifications in the Send Email Notification field, and optionally customize the Subject, Content, and Signature fields.
  5. Click Save to add the schedule.
    ssh-key-schedules-2

ii. SSH Discovery

  1. Discover resources by IP Address, Subnet, or From File.
    1. IP Address - Specify the Start IP and End IP addresses of the resources to be discovered. You can also specify the IP addresses to be excluded in the Exclude IP Address field. Specify the Port used by the end terminals for SSH communication.
    2. Subnet - Discover resources from a specific subnet within an IP range. Enter the IP Address in CIDR format and optionally specify the IP addresses to be excluded in the Exclude IP Address field.
    3. From File - Click Browse under File Location and upload a text file containing the hostnames or IP addresses of the SSH resources to be discovered.
  2. Configure the Recurrence Type, Start Time, and Start Date.
  3. Enter the email addresses for notifications in the Send Email Notification field, and optionally customize the Subject, Content, and Signature fields.
  4. Click Save to add the schedule.
    ssh-key-schedules-3

iii. SSL Discovery

  1. To discover through an agent, enable the Agent checkbox and select the respective agent.
  2. Choose a discovery method and provide the required details:
    • IP Address Range: If you choose to discover SSL certificates using an IP address range, enter the Start IP and End IP addresses. You may also specify an Exclude IP Address if necessary.
    • Subnet: For discovering SSL certificates from a subnet, provide the relevant IP address along with the specific ports that need to be checked for deployed SSL certificates.
    • From File: If you prefer to discover SSL certificates from a file, browse and select the appropriate file.
    • Load Balancer: When discovering SSL certificates from a load balancer, input the following details, Server Name, Port, User Name, Credential Type, Password, and Path. Select the type of load balancer from the dropdown menu, which includes options like General, BIG-IP F5, Citrix, or Fortigate Firewall. For Citrix discovery using REST API commands, check the box labeled Use REST API (By default Key Manager Plus uses CLI commands for discovery and fetching certificates).
    • Shared Path: Choose either Shared Path - Windows or Shared Path - Linux/Mac OS to conduct a discovery operation for a specific directory path as required.
  3. Configure the Recurrence Type, Start Time, and Start Date.
  4. Enter the email addresses for notifications in the Send Email Notification field, and optionally customize the Subject, Content, and Signature fields.
  5. Click Save to add the schedule.
    ssh-key-schedules-4

iv. AD User Certificate Discovery

  1. Select a Domain Name or click New Domain to add a new domain.
  2. Enter Primary Domain Controller and/or Secondary Domain Controller details.
  3. Select the Connection Mode (No SSL / SSL) and enter the user credentials.
  4. Click Fetch Groups & OUs and select the required user accounts / OUs in which certificate discovery has to be performed.
  5. Configure the Recurrence Type, Start Time, and Start Date.
  6. Enter the email addresses for notifications in the Send Email Notification field, and optionally customize the Subject, Content, and Signature fields.
  7. Click Save to add the schedule.
    ssh-key-schedules-5

v. MS Certificate Store Discovery

Schedules the discovery of SSL certificates from Microsoft Certificate Store or certificates issued by Microsoft Certificate Authority.

  1. Choose a type from the Type dropdown:
    1. Certificate Store - Select the Agent checkbox to use an agent for discovery, or leave it unchecked to discover using server credentials.
      • Agent - Choose the required agent from the Select Agent dropdown, enter the Store Name or click Get Stores to retrieve the available stores, and specify the Time out in seconds.
        ssh-key-schedules-6
      • Without an agent, specify the target servers using Server Name, IP Address Range, or From File. Enter the User Name and Password, or select the Use Key Manager Plus service account credentials for authentication checkbox. Then enter the Store Name or click Get Stores to retrieve the available stores.
        ssh-key-schedules-7
    2. Microsoft Certificate Authority - Select the Agent checkbox to use an agent for discovery, or leave it unchecked to discover using server credentials.
      • Agent - Choose the required agent from the Select Agent dropdown. Enter the Server Name and the Microsoft Certificate Authority name, and specify the Time out in seconds.
        ssh-key-schedules-8
      • Without an agent, enter the Server Name, and then enter the User Name and Password, or select the Use Key Manager Plus service account credentials for authentication checkbox. Enter the Microsoft Certificate Authority name.
        ssh-key-schedules-9
      • Under Include, select the applicable checkboxes to refine your discovery: Expired, Revoked, Date Filter, and/or Template Name/OID.
  2. Configure the Recurrence Type, Start Time, and Start Date.
  3. Enter the email addresses for notifications in the Send Email Notification field, optionally customize the Subject, Content, and Signature fields, and select the Report Format as PDF or CSV.
  4. Click Save to add the schedule.

vi. AWS Discovery

Use this option to schedule the discovery of SSL certificates from your AWS environment. Key Manager Plus supports certificate discovery from both AWS Certificate Manager (ACM) and AWS Identity and Access Management (IAM) services.

  1. In the Schedule Type dropdown, select AWS Discovery.
  2. Click Manage AWS Credential to add or select the required AWS access credentials. These credentials are used to authenticate and retrieve certificate data from your AWS account.
  3. In the AWS Service dropdown, choose the AWS service from which you want to discover certificates.
  4. To import certificates from ACM, select ACM under AWS Service and choose the service Region. To import certificates from IAM, specify the required AWS User Name(s) or use the List AWSUserNames option to retrieve the usernames. Choose the required usernames.
  5. Configure the Recurrence Type, Start Time, and Start Date.
  6. Enter the email addresses for notifications in the Send Email Notification field, and optionally customize the Subject, Content, and Signature fields.
  7. Click Save to add the schedule.
    ssh-key-schedules-10

vii. SSL Vulnerability

Schedule periodic vulnerability scans on selected or all SSL certificates in the Key Manager Plus inventory.

  1. You can Select Specific Certificates or Certificate Group, and move the required certificates to the Selected Certificates column using the arrow keys to generate reports for the selected certificates.
  2. Select the checkboxes Include SAN and Only Deployed Servers to include SAN certificates and scan only the deployed servers available in Key Manager Plus.
  3. Configure the Recurrence Type as Daily, Weekly, Monthly, or Once only, and set the corresponding Start Time and Start Date. Specify the email addresses of the recipients to receive the notifications.
  4. Customize the email notifications by entering a Subject, Content, and Signature.
  5. Click Save to schedule the SSL vulnerability scan based on the configured settings.
    ssh-key-schedules-11

viii. SSL Expiry

Schedule expiry alert notifications for SSL certificates.

  1. You can Select Specific Certificates or Certificate Group, and move the required certificates to the Selected Certificates column using the arrow keys to generate reports for the selected certificates.
  2. Specify the number of Days to expiry before which the email notification should be sent.
  3. Configure the Recurrence Type as Daily, Weekly, Monthly, or Once only, and set the corresponding Start Time and Start Date, and provide the email addresses to which notifications should be sent.
  4. Choose to receive notifications either On Every Schedule or Customize your notifications.
  5. If you choose Customize, set the Interval to notify about the to-be-expired certificates.
  6. Select the Email the certificate details on every schedule if the expiry is less than option if you want to receive notifications during every schedule run, regardless of the custom interval set above.
  7. Choose the Report Format as PDF, CSV, or HTML, and click Save to schedule expiry alert notifications based on the configured settings.
    ssh-key-schedules-12

ix. Azure Application Secret Expiry

Use this option to schedule the expiry notification alerts of Azure applications' secrets.

  1. Select the Expiry Notification Days and select one of the following options: All secrets, Selected secrets, or Selected groups.
  2. If you have chosen Selected secrets, move the required secrets to the Selected Client Secrets box. If you have chosen Selected groups, move the required secret groups to the Selected groups box.
  3. Choose the Recurrence Type as Hourly, Daily, Weekly, Monthly, or Once only.
  4. Enter the Start Time, Start Date, and the schedule period in hours.
  5. Specify the email address in the Send Email Notification field for secret expiry email notification.
  6. Enter Subject, Content, and Signature as needed.
  7. Choose PDF or CSV as the schedule report format and click Save to add the Azure application secret expiry notification schedule.
    ssh-key-schedules-13

x. Azure Discovery

Automates the discovery of SSL certificates and secrets from Azure.

  1. In the Discovery Type dropdown, select the required discovery type and configure the relevant settings:
    • Azure Key Vault Certificates Discovery - Choose the Credential Name from the dropdown or click Add Azure Credential to add a new credential. Select the required Key Vault from the dropdown. Select the Import Previous Versions checkbox to include previous certificate versions, and select the Include expired certificates checkbox to include expired certificates in the discovery.
      ssh-key-schedules-14
    • Azure Key Vault Secrets Discovery - Choose the Credential Name from the dropdown or click Add Azure Credential to add a new credential. Select the required Key Vault from the dropdown. Select the Add discovered certificate type secrets to SSL checkbox to add discovered certificate type secrets to SSL, and select the Include expired secrets checkbox to include expired secrets in the discovery.
      ssh-key-schedules-15
    • Azure Applications Certificates and Secrets Discovery - Choose the Credential Name from the dropdown or click Add Azure Credential to add a new credential. Select the Include Expired Certificates and Secrets checkbox to include expired certificates and secrets in the discovery.
      ssh-key-schedules-16
  2. Configure the Recurrence Type, Start Time, and Start Date.
  3. Enter the email addresses for notifications in the Send Email Notification field, optionally customize the Subject, Content, and Signature fields, and select the Report Format as PDF or CSV.
  4. Click Save to add the schedule.

xi. Import Existing Orders

Use this option to schedule the import of existing certificate orders from public CAs into Key Manager Plus.

  1. Choose the desired CA using the Select Certificate Authority dropdown.
  2. Configure the Recurrence Type, Start Time, and Start Date.
  3. Enter the email addresses for notifications in the Send Email Notification field, and optionally customize the Subject, Content, and Signature fields.
  4. Click Save to add the schedule.
    ssh-key-schedules-17

xii. Reports

Schedule reports to be generated and sent to the specified email addresses. All reports generated by Key Manager Plus can be scheduled using this option.

  1. Select Schedule Type as Report and choose the required Report Type from the dropdown.
  2. Set the recurrence interval as Hourly, Daily, Weekly, Monthly, or Once Only, and configure the Start Time and Start Date.
  3. Enter the notification email addresses in the Send Email Notification field.
  4. Customize the email notification by entering a Subject, Content, and Signature.
  5. Select the Report Format as PDF or CSV. The report will be sent to the specified email addresses in the selected format.
  6. Click Save to add the schedule.
    ssh-key-schedules-18
  7. To execute a schedule, click the Execute Now icon beside the respective schedule.
    ssh-key-schedules-19

2. Edit Schedules

If you need to make changes to an existing schedule, such as updating the recurrence, agent, or notification settings, you can do so from the Edit Schedule window. To edit a schedule, follow the steps below:

  1. Navigate to the Schedule tab and click the schedule you wish to modify to open the Edit Schedule window.
  2. Modify the schedule details as needed, except for name and type.
  3. Click Update to save the changes.
    ssh-key-schedules-20

3. Enable or Disable Schedules

Schedules can be enabled or disabled at any time. Use the disable option to pause the execution of a schedule without deleting it. Once re-enabled, the schedule resumes its periodic execution.

To enable or disable a schedule, navigate to the Schedule tab, select the schedules you wish to modify, and choose Enable Schedule or Disable Schedule.
ssh-key-schedules-21

Additional Detail

One-time schedules cannot be re-enabled if already executed. Modify the schedule to enable it.

4. Delete Schedules

Key Manager Plus allows you to manage and maintain your task schedules efficiently. When a schedule is no longer needed, you can delete it from the system to keep your environment organized.

To delete a schedule, navigate to the Schedule tab, select the schedules you wish to delete, click Delete Schedule in the top pane, and confirm when prompted.
ssh-key-schedules-22

Using Key Manager Plus scheduling functionality, you can streamline SSH/SSL operations, automate routine security tasks, and stay proactive about certificate management, ultimately ensuring better time management and system security.




Top