Created
September 10, 2018 07:02
-
-
Save jainnidhi/71a0ac6880467fc3c72400ae24dbcf9b to your computer and use it in GitHub Desktop.
cURL error when accessing SSL Local Site (Local by flywheel)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Open Local by Flywheel | |
Right-click on the site and go to “Open Site SSH” | |
Enter /sbin/ip route|awk '/default/ { print $3 }' and copy the IP | |
Type nano /etc/hosts and add a new line at the bottom for the site you’re trying to access. It should look something like 172.17.0.1 test-1.dev. Use the IP from above. | |
Test the connection. Please note that the certificate is still self-signed so you’ll need to put it into insecure mode. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment