Use https for pushendpoint if cert exists.