Skip to main content

Tools

Scripts to create and manage certificates

Abstract

Scripts to create and manage certificates

FairCom Certificate Manager is a suite of Python scripts for creating, managing, and renewing certificates. It can be used as an internal company-level or department-level certificate authority solution managed by a certificate authority administrator.

Table 1. Certificate management Python scripts

Action

Script Name

Description

Create a CA certificate

createcacert.py

Use the Python script createcacert.py to create a CA certificate and its private key in the FairCom Certificate Manager. Use them to create server certificates and client certificates for use on your company's internal network.

Create a client certificate

createclientcert.py

Use the Python script createclientcert.py to create a client certificate and its private key to use instead of a username and password when logging into a FairCom server.

Create a server certificate

createservercert.py

Use the Python script createservercert.py to create a server certificate and its private key to verify the authenticity of one server.

Display certificate information

certinfo.py

Use the Python script certinfo.py to display information in a certificate file in a PEM file.

Import a CA certificate

importcert.py

Use the Python script importcert.py to register a CA certificate with an operating system in the FairCom Certificate Manager. This allows a computer to trust the certificates you create with the CA certificate. Use administrator privileges to run this script locally on each computer. For Linux and MacOS, prepend the command with sudo.

Renew a CA certificate

renewcert.py

Use the Python script renewcert.py to renew all certificates that are about to expire in a folder in the FairCom Certificate Manager.