GithubHelp home page GithubHelp logo

Issue with Moodle 3.1 about pylti HOT 2 CLOSED

mitodl avatar mitodl commented on July 26, 2024
Issue with Moodle 3.1

from pylti.

Comments (2)

dirkcgrunwald avatar dirkcgrunwald commented on July 26, 2024

After a bit more time with PDB, I'm finding that commenting out line 170 in pylti/common.py as such:

    if lti_cert:                                                                                   
#        client.add_certificate(key=lti_cert, cert=lti_cert, domain='')                            
        log.debug("cert %s", lti_cert)             

removes the fault. Chasing this down isolates this to config.py, so simply removing config.py resolves the problem, but leaves me uncertain what the CONSUMER_KEY_PEM_FILE is for. Is this simply for having secrets in Heroku without having them visible?

from pylti.

dirkcgrunwald avatar dirkcgrunwald commented on July 26, 2024

And, after yet more digging, this appears to be an issue with using a LetsEncrypt certificate. When I switched the host to a Comodo certificate, everything worked fine. Presumably some package (httplib2?) installs a certificate list that somehow doesn't include LetsEncrypt.

from pylti.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.