Key Manager Plus Basic Implementation and Best Practices

After installing Key Manager Plus, you should complete a few essential configuration tasks before you begin managing SSL certificates and SSH keys. Performing these tasks during the initial setup helps secure your deployment, enables core product functionality, and ensures that users can effectively manage certificates and keys from day one.

This guide outlines the recommended post-installation configuration tasks and best practices for implementing Key Manager Plus. It covers updating the product license, securing the encryption key, replacing the default web server certificate, configuring the mail server, onboarding users, and enabling two-factor authentication (TFA).

This documentation covers the following configuration tasks:

  1. Licensing
  2. Managing the Key Manager Plus Encryption Key
  3. Updating the Key Manager Plus Web Server Certificate
  4. Setting up the Mail Server
  5. Setting Up User Roles and Permissions

1. Licensing

The crucial step before configuring the Key Manager Plus application is to update the license key in your Key Manager Plus account. This step unlocks the complete functionality of the software. Store the purchased license file locally on your computer for easy access before beginning this process.

  1. Click on the profile icon at the top right corner of your Key Manager Plus web interface and select the License option from the drop-down list. This action will open a pop-up window displaying your current license details.
  2. Click Update License within the License pop-up window, locate the license file on your computer, and select it.
    implementation-1
  3. Click Open to upload the selected license file and complete applying the license.
  4. Close the Key Manager Plus web client and restart the Key Manager Plus service.

2. Managing the Key Manager Plus Encryption Key

Key Manager Plus uses AES-256 encryption to secure SSH keys, SSL certificates, and other sensitive information stored in its database. The encryption key is auto-generated and unique to every installation. By default, it is stored in a file named kmp_key.key under the <Key-Manager-Plus-Installation-Directory>/conf directory.

Key Manager Plus does not allow the encryption key to be stored within its installation directory. This is to ensure that the encrypted key and encrypted data, in both live and backed-up databases, do not reside in the same location.

We strongly recommend storing the encryption key outside of the Key Manager Plus server — preferably on a separate machine or an external drive (hard drive, USB drive, etc.). In such cases, ensure that the Key Manager Plus server has full permission to access the device and the key file at every startup. Once the service is up and running, it no longer needs access to the key and the external device can be taken offline.

Key Manager Plus stores the path of the encryption key in a configuration file named manage_key.conf, located under the <Key-Manager-Plus-Installation-Directory>/conf folder. You can edit this file directly to update the key file location.

Caution

  • Ensure sufficient protection for the key using multiple layers of encryption (such as Windows File Encryption) and access control.
  • Only the Key Manager Plus application should have access to this key. Ensure no other software, script, or person can access it under any circumstances.
  • Securely back up the kmp_key.key file yourself. You can only recover from Key Manager Plus backups if you supply this key. If the key is lost or misplaced, Key Manager Plus will not start.

3. Updating the Key Manager Plus Web Server Certificate

Updating the Key Manager Plus Web Server Certificate ensures secure HTTPS communication between users' browsers and the application server. Using a valid certificate issued by a trusted third-party Certificate Authority (CA), including a wildcard certificate where applicable, enables browsers to verify the server's identity, encrypt data in transit, prevent browser security warnings, and protect sensitive information exchanged with the application.

Since Key Manager Plus itself serves as a repository for securing SSL certificates, you can upload certificates directly from it (provided you have already consolidated the certificates in Key Manager Plus). You can also browse and add certificates from your system, or you can request new certificates from a trusted third party CA, and then upload it in Key Manager Plus server.

To update the Key Manager Plus web server certificate from the web console, follow these steps:

  1. Navigate to Settings >> General Settings >> Server Certificate.
    implementation-2
  2. In the Server Certificate window that opens, click Browse and select the certificate you want to upload from your local machine. Alternatively, if you have a web server certificate in the Key Manager Plus certificate repository, click Existing Certificate beside the Browse button and select the certificate.
    1. If the certificate that you upload is of .keystore, .pfx, .p12, .pkcs12 or .jks format, you will be prompted to enter your Keystore Password.
    2. For other formats, you will be prompted to enter the Private Key file (server.key). After that, you will be prompted to upload the Intermediate Certificate. You can upload multiple intermediate certificates by clicking the + button. If you do not upload the intermediate certificate, Key Manager Plus will try detecting the intermediate certificates automatically.
  3. If you want to change the default Key Manager Plus server port 6565, enter the new port number in the Server Port field.
  4. To manage the server certificate in the Key Manager Plus repository, ensure that the Manage Server Certificate option is set to Enable.
  5. Click Save and restart Key Manager Plus after saving the changes.

Refer to the Server Certificate documentation to know more about the updating the web server certificate in Key Manager Plus using different methods.

4. Setting up the Mail Server

Setting up the mail server is essential for delivering important messages or alerts to users. Key Manager Plus uses email to notify users about their account details, such as username, password, and the URL to access the Key Manager Plus application. Therefore, it is crucial to configure the SMTP server before onboarding users. Mail server also enables Key Manager Plus to send scheduled notifications for certificate lifecycle events and system activities. This ensures administrators are alerted in advance to take necessary actions.

Key configuration areas include:

  • SMTP server details: Configure mail server host, port, and authentication credentials
  • Sender information: Define the email address used for system notifications
  • Secure communication: Enable TLS/SSL for secure email delivery
  • Notification preferences: Configure alerts for events such as certificate expiry, renewal status, and system alerts

Supported mail servers:

Key Manager Plus supports Microsoft Exchange Online, Gmail, and other SMTP-compatible mail servers. For supported email providers, email notifications can be sent through either an SMTP server or the email provider's API. Key Manager Plus supports the following mail delivery methods:

  • SMTP - Key Manager Plus connects to the configured SMTP server, then sends email notifications using the authentication method supported by the selected email provider. For OAuth 2.0 authentication, Key Manager Plus uses the SASL XOAUTH2 mechanism over SMTP.
  • API - Key Manager Plus sends email notifications through the email provider's supported REST API using OAuth 2.0 authorization.

The required application and authorization details vary depending on the email provider and permission model.

Email ProviderMail Delivery MethodAuthentication/Permission
Microsoft Exchange OnlineSMTPOAuth 2.0 (SASL XOAUTH2) with Delegated permission
Microsoft Exchange OnlineMicrosoft Graph APIOAuth 2.0 with Delegated permission
Google (Gmail)SMTPOAuth 2.0 (SASL XOAUTH2)
Other Mail ServersSMTPAuthentication supported by the configured SMTP server

Proper configuration ensures timely notifications, prevents service disruptions due to expired certificates, and improves operational visibility.

For detailed configuration steps, prerequisites, and authentication requirements for each mail server type, refer to the Mail Server Settings documentation.

Best Practices

  • Configure the mail server immediately after deployment and verify the configuration using the Test Mail option before onboarding users or enabling notification policies.
  • For secure communication, use TLS or SSL wherever possible.

5. Setting Up User Roles and Permissions

Key Manager Plus provides role-based control to manage user access based on organizational roles and responsibilities. Proper configuration ensures that only authorized users can access sensitive resources and perform permitted operations.

User management in Key Manager Plus includes:

  • Creating and managing user accounts
  • Assigning roles and access permissions
  • Integrating with directory services (AD/LDAP)
  • Configuring authentication mechanisms

Users can be onboarded either manually or through integration with organization directory services.

5.1 User Onboarding Methods

Key Manager Plus supports multiple methods for adding users:

  1. Manual User Addition: Add users directly within the application and assign roles.
  2. Active Directory (AD) Integration: Import users from Active Directory for centralized management.
  3. LDAP Integration: Integrate with LDAP directories for synchronization and user authentication.
  4. RADIUS Server Integration: Integrate with RADIUS server for synchronization and user authentication.

Best Practices

  • Define roles aligned with job functions (e.g., Administrator for IT/System/Security Admins, SSL Power User for Certificate Managers and DevOps teams, and Operator for standard users) to ensure consistent and scalable access control.
  • Limit administrative access to critical users to reduce the risk of accidental or unauthorized changes.
  • Periodically audit user roles and permissions to ensure they remain aligned with current responsibilities.
  • Integrate with enterprise authentication systems to simplify user management and enforce consistent security policies.
  • Continuously track user actions to detect anomalies, ensure accountability, and support compliance requirements.

5.2 Enabling Two-Factor Authentication

Two-Factor Authentication (TFA) adds an additional layer of security by requiring users to complete a second authentication step after entering their username and password. Enabling TFA helps protect Key Manager Plus accounts from unauthorized access, even if user credentials are compromised.

Key Manager Plus supports multiple TFA mechanisms, including One-time passwords sent through email, Google Authenticator, and Microsoft Authenticator. Administrators can configure the preferred authentication mechanism and enforce TFA for the required users directly from the Key Manager Plus web interface.

Refer to the Two-Factor Authentication documentation for detailed instructions on configuring and enforcing TFA.




Top