Link to home
Start Free TrialLog in
Avatar of CHI-LTD
CHI-LTDFlag for United Kingdom of Great Britain and Northern Ireland

asked on

Unable to delete old ssl certificate from exchange console

Hi
Having just renewed the ssl certificate in our exchange 2016 server that had expired i am unable to remove the old cert.  Getting the following:
User generated image
I see the connector has been disabled for quite some time.  We also have another connector that us routing mail to our mail security provider mimecast.  
Can the disabled one just be removed?
Thanks

Avatar of M A
M A
Flag of United States of America image

Get the new certifiacte thumprint
Get-ExchangeCertificate

Open in new window

Then run the following command to change certificate in send connector. Replace XXXX with new thumbprint.
$cert = Get-ExchangeCertificate -Thumbprint XXXXXX
$tlscertificatename = "<i>$($cert.Issuer)<s>$($cert.Subject)"
Set-SendConnector "Outbound to Office 365......" -TlsCertificateName $tlscertificatename

Open in new window


If yuo have receive connector configure with certificate run the following to update with new certificate from the same session as above.
Set-ReceiveConnector "EX2016\Default Frontend EX2016" -TlsCertificateName $tlscertificatename

Open in new window

Avatar of CHI-LTD

ASKER

Getting:
WARNING: The command completed successfully but no settings of 'Outbound to Office 365 - ....' have been modified.

And getting the same error as above.


Did you set for receive connector as well?
Avatar of CHI-LTD

ASKER

I dont have an inbound connect for o365.
Please run the following command and try again
Restart-Service MSExchangeServiceHost

Open in new window

Avatar of CHI-LTD

ASKER

I do have a default ex2016 front end receive connector.  

Tried restarting the services, still unable to remove the old cert.

The certificate names for old and new are the same.
Please try these
https://www.experts-exchange.com/questions/29213837/Unable-to-delete-old-ssl-certificate-from-exchange-console.html#a43276779 
Set-ReceiveConnector "EX2016\Default Frontend EX2016" -TlsCertificateName $tlscertificatename

Open in new window

Set-ReceiveConnector "EX2016\Client Frontend EX2016" -TlsCertificateName $tlscertificatename

Open in new window


SOLUTION
Avatar of M A
M A
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of CHI-LTD

ASKER

okay that has removed the cert.
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial