You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.markdown
+10Lines changed: 10 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -12,3 +12,13 @@ can `vagrant plugin install vagrant-fsnotify`), and then
12
12
2. In one terminal window or tmux pane: `vagrant ssh -c 'cd /vagrant && foreman start'`.
13
13
6. In another, `vagrant fsnotify`
14
14
6. Browse to http://localhost:3000/
15
+
16
+
## https://localhost
17
+
18
+
When developing the LTI tool provider components of Gala, it is useful to be able to use https with the development server. This is how to set that up.
19
+
20
+
1. Do this in the vagrant instance. Generate a self-signed certificate: `openssl req -new -newkey rsa:2048 -sha1 -days 365 -nodes -x509 -keyout localhost.key -out localhost.crt`
21
+
2. Trust the certificate in your vagrant instance: `sudo cp localhost.crt /etc/ssl/cert && sudo cp localhost.key /etc/ssl/private && sudo c_rehash`
22
+
3. Trust the certificate on your host machine using Keychain Access. Drag `localhost.crt` into the app, then Get Info and choose Always Trust.
23
+
4. Start the development servers with `LOCALHOST_SSL=true foreman start`
24
+
6. Browse to https://localhost:3000 (http will not work)
0 commit comments