I made the mistake to name the Local website the same as my remote website. Now when I access the remote website, the certificate of the local website is used (incorrect). Which Mac system settings should I change?
Using Mac/High Sierra and latest version of Local (5.10.0).
- Installed Local and added a local site with the same name as a remote site
- Accessed the remote site in a web browser and got a warning that the site is insecure (Safari and Chrome)
- Upon checking the certificate, it turns out that the remote website is associated with the certificate that Local has assigned to the local website, which is the wrong certificate
- I’d like to fix this but can’t find where something needs to be changed.
I’ve tried deleting the certificates generated by Local in Keychain Access, deleting Local and the local website, re-installing Local and local website with a different name, changing local domain name in Local, clearing browser caches. Nevertheless it looks like some setting on the Mac system keeps pointing my remote domain to a local domain.
The most recent error log entry:
2021/03/06 09:10:59 [error] 223#0: *24 kevent() reported that connect() failed (61: Connection refused) while connecting to upstream, client: 127.0.0.1, server: opslagboxamp2.local, request: “GET / HTTP/2.0”, upstream: “http://127.0.0.1:10004/”, host: “opslagboxen.com”