For those who are running local on windows 10 and getting the certificate error and local not starting up. I tried unsuccessfully for hours to find the answer and was not able to having resolve the issue. The system would stall in an endless loop of “regenerating” the certificates.
This is what I did to solve the issue. In short, I uninstalled and removed the local-flywheel folders (there are a few hidden ones) from my machine. I kept the folder for my local site.
After the folders for local-flywheel were deleted I compressed the folder of my site and renamed the directory it was in. Then I performed a clean install of local-flywheel and using the import function from the new install of local - I restored from the compressed file.
This worked perfectly. I am back up and running.
I do not know how this issue began. I suspect maybe after I installed my VPN application.