Skip to content

Latest commit

 

History

History
59 lines (45 loc) · 3.75 KB

README.md

File metadata and controls

59 lines (45 loc) · 3.75 KB

UCS CIMC Certificate Renewal Tool


UCS CIMC Certificate Renewal Tool Title Image


The UCS CIMC Certificate Renewal Tool automates the process of generating a new standard or self-signed certificate signing request for the Cisco Integrated Management Controller (CIMC) of Cisco UCS C-Series and HyperFlex servers.


Prerequisites

  1. Python 3.7 or higher installed, which can be downloaded from https://www.python.org/downloads/.
    • If you're installing for the first time on Windows, select the option "Add Python 3.x to PATH" during the installation.
  2. Clone or download the UCS CIMC Certificate Renewal Tool repository by using the GitHub Code Button link on the main repository web page or by running the following command from the target directory if Git is locally installed:
    git clone https://github.com/ugo-emekauwa/ucs_cimc_csr_tool
    
    If you are downloading the repository file as a zipped file, unzip the file once the download has completed.
  3. Install the required Python modules requests and urllib3. The requirements.txt file in the repository can be used for installation by running the following command:
    python -m pip install -r requirements.txt
    
  4. The IP addresses of the targeted Cisco UCS server CIMCs.
  5. User credentials with administrative rights on the targeted Cisco UCS server CIMCs.

After fulfilling the requirements listed in the Prerequisites section, ucs_cimc_csr_tool.py can be ran directly from your IDE or imported into another module.

How to Use

  1. Please ensure that the above Prerequisites have been met.

  2. Within the unzipped UCS CIMC Certificate Renewal Tool repository, navigate to the ucs_cimc_csr_tool.py file.

  3. Edit the ucs_cimc_csr_tool.py file to set all the configuration variable values using the following instructions:

    (a). Open the ucs_cimc_csr_tool.py file in an IDLE or text editor of choice.

    (b). Find the comment # MODULE REQUIREMENT 1 #.

    Figure 1 - MODULE REQUIREMENT 1 location

    (c). Underneath, you will find the instructions to edit the configuration variable values to match your environment. Each variable has a sample value for ease of use. The variable values to edit begin under the comment ####### Start Configuration Settings - Provide values for the variables listed below. #######.

    Figure 2 - Start Configuration Settings location

    Completion of editing the configuration variable values is marked by the comment ####### Finish Configuration Settings - The required value entries are complete. #######.

    Figure 3 - Finish Configuration Settings location

  4. Save the changes you have made to the ucs_cimc_csr_tool.py file.

  5. Run the ucs_cimc_csr_tool.py file.

Related Tools:

Here are similar tools to help administer and manage Cisco UCS environments.

Author

Ugo Emekauwa

Contact Information

uemekauw@cisco.com or uemekauwa@gmail.com