I am running vCenter 7.0.2.00200 and Running into an error. Looks like the Letsencrypt is working as it validated via DNS and created the certificate, just looks like it is having a problem writing to vCenter. Should I be using "administrator@vsphere.local" or the root account?
PS C:\Users\mock\Install-vCenterSSL> .\Install-vCenterSSL.ps1
cmdlet Get-Credential at command pipeline position 1
Supply values for the following parameters:
Credential
Checking for Required Module Posh-ACME
Posh-ACME Module Already Installed
Session Token Created Successfully
Previously generated certificate found, would you like to reuse it? (Yes / No): yes
Downloading ROOT CA
Successfully Validated ROOT CA
Loading Certificate Files
Reformating Certificates to String
Creating Payload
Preparing to Replace Certificate.
C:\Users\mock\Install-vCenterSSL\Install-vCenterSSL.ps1 : Failed to Replace Certificate, Terminating Script
At line:1 char:1
.\Install-vCenterSSL.ps1
- CategoryInfo : NotSpecified: (:) [Write-Error], WriteErrorException
- FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,Install-vCenterSSL.ps1
Status: A system exception was caught.
{"error_type":"SERVICE_UNAVAILABLE","messages":[{"args":[],"default_message":"Service unavailable.","id":"com.vmware.vapi.endpoint.cis.ServiceUnavailable"}]}
The request body has been saved to $global:helpme
PS C:\Users\mock\Install-vCenterSSL>
Could this be related to the Posh-ACME Module? Not sure I got that installed right as it took a really long time. I am running this from Windows 10 computer.
I am running vCenter 7.0.2.00200 and Running into an error. Looks like the Letsencrypt is working as it validated via DNS and created the certificate, just looks like it is having a problem writing to vCenter. Should I be using "administrator@vsphere.local" or the root account?
PS C:\Users\mock\Install-vCenterSSL> .\Install-vCenterSSL.ps1
cmdlet Get-Credential at command pipeline position 1
Supply values for the following parameters:
Credential
Checking for Required Module Posh-ACME
Posh-ACME Module Already Installed
Session Token Created Successfully
Previously generated certificate found, would you like to reuse it? (Yes / No): yes
Downloading ROOT CA
Successfully Validated ROOT CA
Loading Certificate Files
Reformating Certificates to String
Creating Payload
Preparing to Replace Certificate.
C:\Users\mock\Install-vCenterSSL\Install-vCenterSSL.ps1 : Failed to Replace Certificate, Terminating Script
At line:1 char:1
.\Install-vCenterSSL.ps1
Status: A system exception was caught.
{"error_type":"SERVICE_UNAVAILABLE","messages":[{"args":[],"default_message":"Service unavailable.","id":"com.vmware.vapi.endpoint.cis.ServiceUnavailable"}]}
The request body has been saved to $global:helpme
PS C:\Users\mock\Install-vCenterSSL>
Could this be related to the Posh-ACME Module? Not sure I got that installed right as it took a really long time. I am running this from Windows 10 computer.