HTTPGET error with SSL

HTTPGET error with SSL

  
Hello all,
We have SSL set up on our server, and we are getting the following error :

The underlying connection was closed: Could not establish trust relationship for the SSL/TLS secure channel. 

when trying to call HTTPGET from RichMail.

Isn't there some httpSget function?

We are using this to create a styled excel following these instructions : http://www.outsystems.com/forums/discussion/2749/sample-producing-fully-styled-excel-reports/

Everything else works fine.
Hi Nelson,

If you open the eSpace on that thread there are alot of hardcoded "http://localhost/" urls.
If you are forcing the use of https you need to change them to valid https urls (including the correct server name) to make it a valid request.

Regards,
João Rosado
João,

That's exactly what I've done.

All Urls have been changed to my specific scenario.
I'll give it a doublecheck just to be sure.

João, it gives that error right on the first HTTPGET.
The Url is something like "https://<servername>/<espacename>/<screenname>.aspx"

If I put that on the browser, I'm able to access.

I created a simple eSpace on my local community edition (no SSL configured), to test this and it works with no problems.
Hi Nelson,

Is the certificate valid (and with the correct host) or do you have a certificate exception in your browser/machine?
If you access the url in the server machine locally using Internet Explorer, does it work?

Regards,
João Rosado
João,

We don't have the final certificate yet, so we always get the error saying it's not secure, etc...
Accessing locally in the server with IE I'm able to access, after bypassing the certificate message.

best,
Nelson André
Our SSL configuration on the IIS side is just in the bindings of the Default Web Site.

We have 2 entries :
HTTP 80 * 
HTTPS 443 * (with a local SSL certificate)

The rest it's all done in the WebFlow's configuration "HTTP Security = SSL"

These screens to be exported to Excel are inside a WebFlow that is configured as "HTTP Security = None" but if I try to access them without the "HTTPS" , in Chrome I get "ERR_CONNECTION_TIMED_OUT"  and in IE I get "This page can’t be displayed".
With Https it's ok.

Should't I be able to configure which pages need https and which don't?

Best,
Nelson