This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/python | |
| # Run this from the PSC/VC to replace the Certificates using VMCA | |
| # | |
| # Main purpose of this script is to quickly replace the Expired Certificates on vCenter Server with minimal manual intervention. | |
| # | |
| # This script is capable of performing following certificate replacement tasks on VCSA based on the CLI arguments passed | |
| # 1: Reset all Certificates on vCenter Server (including VMCA Root, Machine SSL, STS, Solution Users, Data-enciphement, SMS and Lookupservice certificate) | |
| # 2: Replace Secure Token Signing (STS) Certificate | |
| # 3: Replace Machine SSL Certificate | |
| # 4: Replace all Solution User Certificates |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| # Copyright (c) 2020-2021 VMware, Inc. All rights reserved. | |
| # VMware Confidential | |
| # | |
| # Run this from the affected PSC/VC | |
| # | |
| # NOTE: This works on external and embedded PSCs | |
| # This script will do the following | |
| # 1: Regenerate STS certificate | |
| # |