Mega Search
23.2 Million


Sign Up

Make a donation  
StandaloneSSL sample program not working in https mode why?  
News Group: embarcadero.public.delphi.thirdpartytools.intraweb

I am using Delphi XE7 enterprise version with an updated intraweb version to 14.0.36.  
So, I have been trying to get the Atozed demo program "StandaloneSSL"  it will run in http but not in secure mode https. The internet 11 message said "Can not display page" ...

I have updated openssl to Win32OpenSSL-1_0_1j and copied the two files to the application folder where the exe folder is but still not working.

I can not find this in the forum or Atozed website documentation!

Is there some other thing that I am missing?


Thanks for any info!

Walter

Vote for best question.
Score: 0  # Vote:  0
Date Posted: 15-Jan-2015, at 4:56 PM EST
From: Garnet Pettway
 
Re: StandaloneSSL sample program not working in https mode w  
News Group: embarcadero.public.delphi.thirdpartytools.intraweb
> I found a reference that SSL only works with intraweb Ultimate? 
> Is that true?

Yes, it is. Check the feature matrix please: http://www.atozed.com/intraweb/FeatureMatrixXIV.EN.aspx

Vote for best answer.
Score: 0  # Vote:  0
Date Posted: 20-Jan-2015, at 3:07 AM EST
From: Alexandre Machado
 
Re: StandaloneSSL sample program not working in https mode w  
News Group: embarcadero.public.delphi.thirdpartytools.intraweb
> {quote:title=Alexandre Machado wrote:}{quote}
> > {quote:title=Garnet Pettway wrote:}{quote}
> > I am using Delphi XE7 enterprise version with an updated intraweb version to 14.0.36.  
> > So, I have been trying to get the Atozed demo program "StandaloneSSL"  it will run in http but not in secure mode https. The internet 11 message said "Can not display page" ...
> > 
> > I have updated openssl to Win32OpenSSL-1_0_1j and copied the two files to the application folder where the exe folder is but still not working.
> > 
> > I can not find this in the forum or Atozed website documentation!
> > 
> > Is there some other thing that I am missing?
> 
> First, check your IW application log window. Does it show the information about HTTPS server started? Are you trying to connect using the correct protocol/port?
> 
> Besides that, did you try other browsers? The certificate is self signed and probably all browsers will complain about it, but they should let you run the application anyway.

First, I was trying to get the demo program called StandAloneSSL to work by copying the ssleay32.dll and libeay32.dll from win32OpenSSL-1_0_1j. The results is that http: works but not https:  I get this: "Cannot Display Page"!
The StandAloneSSL log will not show https only http...
I found a reference that SSL only works with intraweb Ultimate? 
Is that true?

Thanks
Garnet

Vote for best answer.
Score: 0  # Vote:  0
Date Posted: 19-Jan-2015, at 11:01 PM EST
From: Garnet Pettway
 
Re: StandaloneSSL sample program not working in https mode w  
News Group: embarcadero.public.delphi.thirdpartytools.intraweb
> {quote:title=Garnet Pettway wrote:}{quote}
> I am using Delphi XE7 enterprise version with an updated intraweb version to 14.0.36.  
> So, I have been trying to get the Atozed demo program "StandaloneSSL"  it will run in http but not in secure mode https. The internet 11 message said "Can not display page" ...
> 
> I have updated openssl to Win32OpenSSL-1_0_1j and copied the two files to the application folder where the exe folder is but still not working.
> 
> I can not find this in the forum or Atozed website documentation!
> 
> Is there some other thing that I am missing?

First, check your IW application log window. Does it show the information about HTTPS server started? Are you trying to connect using the correct protocol/port?

Besides that, did you try other browsers? The certificate is self signed and probably all browsers will complain about it, but they should let you run the application anyway.

Vote for best answer.
Score: 0  # Vote:  0
Date Posted: 19-Jan-2015, at 2:54 AM EST
From: Alexandre Machado
 
Re: StandaloneSSL sample program not working in https mode w  
News Group: embarcadero.public.delphi.thirdpartytools.intraweb
> The trickiest part of using the SSL is generating the certificate requests and completing that process.  

Yes, that's a PITA....

> In IW12 the demo used a self-signed certificate, but I can no longer make trhat function in the development environment.

Can you please explain why?

Vote for best answer.
Score: 0  # Vote:  0
Date Posted: 19-Jan-2015, at 2:48 AM EST
From: Alexandre Machado
 
Re: StandaloneSSL sample program not working in https mode w  
News Group: embarcadero.public.delphi.thirdpartytools.intraweb
I have never been able to work with SSL on in development mode.  Just before posting I set the SSL options in the ServerController, build, and then post.  I'm still using IW12, but that could have changed in IW14.

The trickiest part of using the SSL is generating the certificate requests and completing that process.  You have to do that on the server to create the .cert and .pem files that comprise the certificate.  In IW12 the demo used a self-signed certificate, but I can no longer make trhat function in the development environment.

Vote for best answer.
Score: 0  # Vote:  0
Date Posted: 15-Jan-2015, at 7:23 PM EST
From: Daniel Fields