Better SSL handling in check-deploy