Icon View Thread

The following is the text of the current message along with any replies.
Messages 1 to 10 of 10 total
Thread TServerRequest and SSL
Fri, Mar 7 2014 5:30 AMPermanent Link

Code

How do one use TServerRequst with a secure web service?

Thanks.
Fri, Mar 7 2014 7:21 AMPermanent Link

Matthew Jones

Just reference the https instead of http. Apart from that it is the same.

/Matthew Jones/
Fri, Mar 7 2014 9:28 AMPermanent Link

Code

Hmm I thought so too but I get the following error message on the client side and the server side:



Attachments: Screenshot-2014-03-07_16.25.15.png
Fri, Mar 7 2014 9:29 AMPermanent Link

Code

And this on the server side.



Attachments: Screenshot-2014-03-07_16.25.48.png
Fri, Mar 7 2014 11:57 AMPermanent Link

Matthew Jones

I don't have a way to decode those images!

/Matthew Jones/
Fri, Mar 7 2014 3:42 PMPermanent Link

Raul

Team Elevate Team Elevate

Is that a proper signed cert  (meaning signed by a trusted CA or is it
self-minted) ?

If latter then make sure you add your own CA to the trusted CA store.

What happens when you hit the URl straight from browser (using https)

Raul

On 3/7/2014 9:28 AM, Code wrote:
> Hmm I thought so too but I get the following error message on the client side and the server side:
>
Sun, Mar 9 2014 12:48 AMPermanent Link

Code

Raul wrote:

"Is that a proper signed cert  (meaning signed by a trusted CA or is it
self-minted) ?"

It is a self-minted one.


"What happens when you hit the URl straight from browser (using https)"

The browser warns me about the certificate but returns the JSON array.

It works fine using a normal html page with javascript...just seems to get the error in EWB.
Sun, Mar 9 2014 12:22 PMPermanent Link

Raul

Team Elevate Team Elevate

On 3/8/2014 11:48 PM, Code wrote:
>
> The browser warns me about the certificate but returns the JSON array.
> It works fine using a normal html page with javascript...just seems to get the error in EWB.

I believe this is the problem - you need to add your own signing CA to
the browser trusted list so you no longer get the prompt.

Browser in general will not prompt for any Javascript issues related to
invalid/untrusted cert but will silently fail it. It not a EWB issue but
general javascript and browser one.

Raul

Mon, Mar 10 2014 2:11 AMPermanent Link

Code

Yep that seems to have been the problem. I manually added the certificate to Chrome and Firefox and works via the browser now. I only get that error when I am in design mode in EWB and when clicking on the test button for the server request component.

Thanks for the pointers guys.

I have only been playing with EWB since last week and I am pretty impressed with it thus far...can't wait for Version 2.0!! Well done to the dev team.
Tue, Mar 11 2014 8:35 AMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

<< Hmm I thought so too but I get the following error message on the client
side and the server side: >>

That client-side error could be an issue with the Windows 8/IE11 WinInet
support.  There was at least one other issue with the FTP:

http://www.elevatesoft.com/bulletins?action=view&category=ewb&bulletin=random_ftp_errors_when_deploying_applications_with_ie11

Tim Young
Elevate Software
www.elevatesoft.com


Image