This tutorial provides the steps to get a working SSL on localhost sites when using Local on M1-chip Macs.
![](https://wpdevdesign.com/wp-content/uploads/2021/01/local-ssl.png)
Step 1
After creating the site in Local, click on TRUST next to SSL for the site.
![](https://wpdevdesign.com/wp-content/uploads/2021/01/local-site-trust-1024x736.png)
Enter your computer admin user password and click OK.
![](https://wpdevdesign.com/wp-content/uploads/2021/01/local-system-password.png)
Click on any other site in the sites list on the left and switch back to your new site.
It should now say TRUSTED.
![](https://wpdevdesign.com/wp-content/uploads/2021/01/local-site-trusted.png)
Step 2
Launch Keychain Access.
Search for your site name.
Locate the certificate name that Local generates and double click on it.
![](https://wpdevdesign.com/wp-content/uploads/2021/01/keychain-access-local-certificate-1024x695.png)
Expand Trust.
Change When using this certificate dropdown’s value from Use System Defaults to Always Trust.
![](https://wpdevdesign.com/wp-content/uploads/2021/01/always-trust-local-certificate.png)
so it becomes
![](https://wpdevdesign.com/wp-content/uploads/2021/01/always-trusted-certificate.png)
Confirm the change.
![](https://wpdevdesign.com/wp-content/uploads/2021/01/always-trust-local-certificate-confirmation.png)
You may now quit Keychain Access.
Step 3
Stop all the sites in Local, quit Local and open it.
Start your site(s).
Click on ADMIN button to launch the WP dashboard.
![](https://wpdevdesign.com/wp-content/uploads/2021/01/local-site-wp-admin-1024x683.png)
Log into the site and go to Settings > General.
Change http
to https
for both WordPress Address and Site Address URLs. Save changes.
![](https://wpdevdesign.com/wp-content/uploads/2021/01/https-wordpress-urls.png)
and you are done!