Describe the issue
Incorrect Back End Certificate Value on IIS Settings when Back End Certificate is removed using Remove-ExchangeCertificate and not present at server. The removed certificate thumbprint is shown in IIS Information result and it should show no certificate as shown in IIS
Expected behavior
IIS BE Certificate should show Null.
Can be corrected by setting $certHash to Null when $cert is $null for Exchange Enabled Certificate Bindings. Needs to be checked what is behaviour if non Exchange Cetificate is assigned to BE in IIS (not sure if supported in Exchange)
Script Output
If applicable, add the exception that wasn't handled.
Additional context
How to reproduce:
Check BE Certificate Thumbprint.
Remove the Certificate with Remove-ExchangeCertificate command. If certificate is Internal Transport Certificate it cant be removed with Remove-ExchangeCertificate.
Run HealthChecker after removing the BE certificate
Provide Version Number Version 24.03.12.1700
Describe the issue Incorrect Back End Certificate Value on IIS Settings when Back End Certificate is removed using Remove-ExchangeCertificate and not present at server. The removed certificate thumbprint is shown in IIS Information result and it should show no certificate as shown in IIS
Expected behavior IIS BE Certificate should show Null.
Can be corrected by setting $certHash to Null when $cert is $null for Exchange Enabled Certificate Bindings. Needs to be checked what is behaviour if non Exchange Cetificate is assigned to BE in IIS (not sure if supported in Exchange)
Script Output
If applicable, add the exception that wasn't handled.
Additional context
How to reproduce: