fix certs for https feature