Iframe source from httpPost

Hi community, I'm having problems trying to get an html through scripting using httpPost. The idea is to return this html to an IFrame component through a binding property (using src property of component).

The code is this:

url = "https://mydomain.com/system/webdev/myApp/renderSQL"
print system.net.httpPost(url,'application/json',{"content": "ExampleParam"})

When I execute the code through script console in the designer it works, but when I execute in a binding property, it throws error

IOError: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target

Also I tried change domain to localhost and does not works, Any ideas on how I can achieve this?

Your binding isn't providing a valid URL. What's going on in there?