Skip to content

SSL Certificates

cjshawMIT edited this page Mar 29, 2018 · 4 revisions

Some of the interactive tools and assessments require access to the user's microphone or webcam (like audio response questions / movable word sandbox questions, or Open Story Tool). In Chrome, this access requires the URL to be accessed via https. Both unplatform and qbank are, by default, bundled with a self-signed SSL certificate (located at bundle/unplatform/unplatform.cert.dummy.pem and bundle/unplatform/unplatform.key.dummy.pem). If you wish to host on the internet or use a different certificate, you can replace those files with the appropriate ones.

If you need to use a different path to the files, you will have to re-build unplatform and qbank from source, and edit the SSL certificate paths in main.py in both repositories to point to the updated paths:

https://github.com/CLIxIndia-Dev/unplatform_v2/blob/e9b70985dc97f29d207bf50740de96a01422c60e/main.py#L39-L50

https://github.com/CLIxIndia-Dev/qbank-lite/blob/311ec1e929cfd24f32664d88a439d4b7f45fbd01/main.py#L22-L27

Clone this wiki locally