virtuallywired / Install-vCenterSSL

12 stars 9 forks source link

Error After Preparing to Replace Certificate #4

Open pctechwright opened 1 year ago

pctechwright commented 1 year ago

When i run the script, it all looks good until the section "Preparing to Replace Certificate.". This error comes up, and there is no trace of a error log. This is also for Vcenter v8 - not sure if there is a huge difference than V7

Status: A system exception was caught. {"error_type":"ERROR","messages":[{"args":["Invalid input certificate : DNS in Subject Alternative Name is not correct. DNS Name must contain machine FQDN."],"default_mes sage":"Exception found (Invalid input certificate : DNS in Subject Alternative Name is not correct. DNS Name must contain machine FQDN.)","id":"com.vmware.certificatemana gement.error"}]} The request body has been saved to $global:helpme

virtuallywired commented 1 year ago

Hi, I've not personally tested it on vCenter 8 but someone commented on my blog it works on 8. The error you are getting seem like the subject alternative name doesn't match. If don't mind sharing what is your configuration, vCenter FQDN, and ssl common name?

TechSense89 commented 5 months ago

HI Nicholas (@virtuallywired).

I have also encountered this same issue for my test lab. Would you like to collaborate towards a resolve? Happy to share all details offline / catchup.