Configure lets encrypt in wsgiref?

I’m using the python wsgiref module with the simple server to run an application. How do I configure lets encrypt to be able to run the application on https ?