Fix Certificate Issues on Development Machines D365fo

 

Run Command:
Set-Location -Path “cert:\LocalMachine\My”
$OldCert = (Get-ChildItem -Path 43082FE50B4D02562C89EA728B2363C598E84886)
New-SelfSignedCertificate -CloneCert $OldCert -NotAfter (Get-Date).AddMonths(999)

 

change 43082FE50B4D02562C89EA728B2363C598E84886 with your “thumbprint number”

 

get thumbprint  with this command

Get-ChildItem -path Cert:\LocalMachine\My | Where {$_.NotAfter -lt $(get-date).AddMonths(2)} | Sort NotAfter | Format-Table Subject, Thumbprint, NotAfter

 

 

reboot server

Leave Comment

Your email address will not be published. Required fields are marked *