fixing CERT_URL
using URL from settings