Backport 0c0da6a36da7fac5bc963204d6762ca3f55ca424

use certs from request module in interface.py
Backport fde5dd577a221aa3c5c159b885caa3aa653b7d9c

fix #849