Is it possible to force https by default?

Hey @Ruben1 – I agree that this can get tedious. We do have a few open feature requests for making HTTPS in Local better, you might want to up-vote them to get them prioritized:

In the meantime, I know that under Mac, the security settings are such that you need to manually add the key to Keychain every time. As for changing the URL within the DB, one thing you might consider doing is use wpcli to do the search and replace. This would mean that you don’t need to edit things in Adminer or install the better search-and-replace plugin.

To run a search-and-replace with wpcli:

  1. Click the “Open site shell” button in Local
  2. In the terminal that opens, type the following command (be sure to use your site’s domain and note the s difference in http/https)
wp search-replace 'http://mysite.local' 'https://mysite.local'