How to handle SSL certificate error in a script task where I want to make a HTTPS call or simply disable it?

I am running 7.17. And try to have a simple single task flow to communicate with a remote server by running HTTPS post request.