~roadmr/canonical-identity-provider/u2f-db-fields

« back to all changes in this revision

Viewing changes to README

  • Committer: Daniel Manrique
  • Date: 2019-08-30 16:18:32 UTC
  • mto: This revision was merged to the branch mainline in revision 1695.
  • Revision ID: roadmr@ubuntu.com-20190830161832-qold1p4ew0u5uulj
Add run-ssl makefile target and README instructions

Show diffs side-by-side

added added

removed removed

Lines of Context:
242
242
 
243
243
       Add the output config (LP_API_URL etc.) to "../local_config/settings.py"
244
244
 
 
245
14. (Optional) Use SSL for the development service
 
246
 
 
247
     Testing some features on a development instance might require this: an
 
248
     example is SAML because SAML only works over a secure connection.
 
249
 
 
250
     There's a run-ssl target just for this. It will start the service on port
 
251
     8443 with a self-signed certificate (which is created if it didn't exist).
 
252
 
 
253
     Importantly, a non-ssl process must also be running ("make run") because
 
254
     internal API communication goes over http.
 
255
 
 
256
       $ # On one terminal/tmux window
 
257
       $ make run
 
258
       $ # On another terminal/tmux window
 
259
       $ make run-ssl
 
260
       $ # Test that SSL works
 
261
       $ curl -k --head https://sso-xenial:8443
 
262
         HTTP/1.1 200 OK
 
263
 
 
264
     If the self-signed certificates are not enough for your purposes, you can
 
265
     place any certificate in dev-sso.crt and its key in dev-sso.key in the
 
266
     project's root and run-ssl will use those.
 
267
 
245
268
 
246
269
BAZAAR
247
270
------