Https / SSL on ibex webserver

PennController for IBEX Forums Support Https / SSL on ibex webserver

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #7114
    samm00
    Participant

    Hello,

    Not sure if this is the right place, but I am really stumped here.

    I am hosting an experiment on a server modified from https://github.com/addrummond/ibex.

    This experiment will use images and other files that need to be hosted along with the experiment. I have GET requests working, but only over http://[ip]:3000. In order to load the files into a pcibex experiement, I am under the impression it needs to be https. I was able to get a domain and get http://www.domain.ext:3000 working. But I can’t seem to get ssl working.

    Has anyone had any luck doing this?

    I tried adding in a line at the end of the server.py file to httpd = ssl.wrap_socket(…), which doesn’t throw any errors, but the webpage won’t load at all then.

    • This topic was modified 2 years, 9 months ago by Jeremy. Reason: moved to support
    #7116
    Jeremy
    Keymaster

    Hello,

    I moved this topic to the support section, seeing you’re not requesting new features on PennController or the farm

    If you follow the step-by-step CGI instructions from the documentation the experiment won’t be served on port 3000. Then you should move any multimedia file from chunk_includes to the www directory, so they can be found at the same path as experiment.html

    I haven’t had troubles relating to SSL following these steps before

    Jeremy

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.