Jump to content

Recommended Posts

Posted
Hi guys, Hopefully someone with more nous and experience can help me with this one. I'm migrating Exchange from 2013 to 2016 following this guide Technical Deep Dive: Exchange 2013 to 2016 Migration (Part 3). I have exported the certificates from the 2013 box and imported them into 2016. External DNS (which is all that is used - our own DNS doesn't control the domains used for this cert) still points at the 2013 server. Should I be expecting to see the (still in-date) certificate showing as Invalid on the new server? Will this become valid when DNS is changed over? If I change the DNS resolution using my local hosts file, I can connect to this server and the cert works for the login pages etc. Any pointers or experience you have on this will be welcome!

exchange.JPG

Posted

Changing the DNS will not fix a broken cert one way or the other

 

did you export it from the Exchange Control panel or through the certifcate MMC? I've seen the former not export the private key which will mean it doesn't work

Posted (edited)
Exported through Powershell, as on the second page of the guide: Technical Deep Dive: Exchange 2013 to 2016 Migration (Part 2)
$password = ConvertTo-SecureString "Password1" -AsPlainText –Force Export-ExchangeCertificate -Thumbprint CERTIFICATETHUMBPRINT -FileName C:\Exchange2013Cert.pfx -Password $password | Out-Null
Edit: I'm thinking that the PS isn't exporting the private key, as the RootCAType parameter of the cert is showing as 'unknown'. I think I'll just renew it. Edited by 3s-gtech
Posted
So on the new box, go into certificate services as local computer, and into the personal certificate store. Locate the cert in question. it should say 'you have a corresponding private key' and you should be able to validate the certificate all the way 'up the chain'
  • Thanks 1
Posted
It tells me that I have the private key, and the Certification path shows as okay (cross-checked the same cert on old and new Exchange servers, looks the same on each). On the old one (which still has the corresponding address) it shows as Valid, and it shows as 'Invalid' on the new.
Posted

Bizarre, if you definitely have the correct intermediate certs on the new box I am kinda of out ideas.. I'd probably repeat the process via the GUI an when exporting the cert on the old box tick the box to export all certs in the chain.

 

I also assume the new box can access the internet to validate the chain (proxy could be problematic here),

Posted (edited)
The new server can access the internet (through a proxy) - it is verifying the chain successfully. It is an odd one. The issue certainly seems to be around the RootCAType field, as it shows as ThirdParty on the old, and Unknown on the new. I'm going to try renewing the cert I think. Edited by 3s-gtech
Posted
Nope! Sorted. I hadn't set the netsh proxy via the command line, so the Local Computer account couldn't get out. We have some traffic that bypasses the proxy, but obviously the cert checking doesn't! Thanks for your help.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...