Watch, Follow, &
Connect with Us

For forums, blogs and more please visit our
Developer Tools Community.


Welcome, Guest
Guest Settings
Help

Thread: Configuring IW App to use SSL on IIS.


This question is answered.


Permlink Replies: 5 - Last Post: Oct 5, 2014 9:27 PM Last Post By: Shane Stump
Daniel Fields

Posts: 622
Registered: 11/29/04
Configuring IW App to use SSL on IIS.  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Oct 5, 2014 3:13 PM
I have my server setup with IIS and SSL. I have tested that the site is functional by http and https. Now I want to run my IW app in that environment. It has been a while since I've done this from scratch. I followed the instructions in the link below, but I cannot get the app to work on a secure connection.
http://www.atozed.com/intraweb/docs/Deploy/SSL/index.aspx

I started over with a simple app so it would be easier to test. I have a button on the form that sets the SSLOption.Port to 8443, and then calls SwitchTo Secure. It fails at that point with a 404 "https://www.myserver.net:8443/$/call?IWAPP/1/0l4grob0tag1681h62amv05ku3o1".

I have made sure that the bindings are set for that port (8443) and I can reach the default page on that port.

What else do I need to do?
Shane Stump

Posts: 138
Registered: 2/16/01
Re: Configuring IW App to use SSL on IIS.
Correct
Click to report abuse...   Click to reply to this thread Reply
  Posted: Oct 5, 2014 6:04 PM   in response to: Daniel Fields in response to: Daniel Fields
Daniel Fields wrote:
I have my server setup with IIS and SSL. I have tested that the site is functional by http and https. Now I want to run my IW app in that environment. It has been a while since I've done this from scratch. I followed the instructions in the link below, but I cannot get the app to work on a secure connection.
http://www.atozed.com/intraweb/docs/Deploy/SSL/index.aspx

I started over with a simple app so it would be easier to test. I have a button on the form that sets the SSLOption.Port to 8443, and then calls SwitchTo Secure. It fails at that point with a 404 "https://www.myserver.net:8443/$/call?IWAPP/1/0l4grob0tag1681h62amv05ku3o1".

I have made sure that the bindings are set for that port (8443) and I can reach the default page on that port.

What else do I need to do?

Daniel,

Ar you running your program in IIS or SA? I am guessing IIS?

Do you have each page you want to run securely set to cmSecure (IW form property)?

Best Regards,

Shane
Daniel Fields

Posts: 622
Registered: 11/29/04
Re: Configuring IW App to use SSL on IIS.  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Oct 5, 2014 7:43 PM   in response to: Shane Stump in response to: Shane Stump
Shane, I went back to SA deployed as a service. I forgot about the ConnectionMode property! I also had to remove the binding I placed on that port for testing. It all works now.

Thanks for the assistance!
Shane Stump

Posts: 138
Registered: 2/16/01
Re: Configuring IW App to use SSL on IIS.  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Oct 5, 2014 7:57 PM   in response to: Daniel Fields in response to: Daniel Fields
Daniel Fields wrote:
Shane, I went back to SA deployed as a service. I forgot about the ConnectionMode property! I also had to remove the binding I placed on that port for testing. It all works now.

Thanks for the assistance!

Daniel,

Glad to finally be able to return some assistance!!!

I still deploy my application as a SA because of SIMPLICITY!!! If I deploy it as an IIS app, I will be required to install and take ownership of IIS on all my clients' servers (not going to happen)!!

All the best,

Shane
Daniel Fields

Posts: 622
Registered: 11/29/04
Re: Configuring IW App to use SSL on IIS.  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Oct 5, 2014 9:19 PM   in response to: Shane Stump in response to: Shane Stump
That's the beauty of the forum! I appreciate that I can use the rest of my night to get work done.

What do you do during development where the SSL is concerned? Do you just set the SSLOptions.Port back to 0? Do you use a different certificate?

I just switched to Service deployment because I wanted to eliminate that hook into the interface layer. I had to create a way to get information out of the server, but that didn't take much. The application runs faster and it's still easy to start/stop it. I was surprised at how easy the transition was. Nothing about the forms or functionality had to change. I also like that it starts with the server, and that I can set dependencies.
Shane Stump

Posts: 138
Registered: 2/16/01
Re: Configuring IW App to use SSL on IIS.  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Oct 5, 2014 9:27 PM   in response to: Daniel Fields in response to: Daniel Fields
Daniel Fields wrote:
That's the beauty of the forum! I appreciate that I can use the rest of my night to get work done.

What do you do during development where the SSL is concerned? Do you just set the SSLOptions.Port back to 0? Do you use a different certificate?

I just switched to Service deployment because I wanted to eliminate that hook into the interface layer. I had to create a way to get information out of the server, but that didn't take much. The application runs faster and it's still easy to start/stop it. I was surprised at how easy the transition was. Nothing about the forms or functionality had to change. I also like that it starts with the server, and that I can set dependencies.

Likewise!!

Each of my clients get a certificate for their particular domain. I allow them to configure the SSL port but by default I use 442 and it has worked well.

Installing my web reservations as a service takes me less than 30 seconds to deploy!

Well, time to run backup and go have a few beers before bed!!

See ya tomorrow!

Best,

Shane
Legend
Helpful Answer (5 pts)
Correct Answer (10 pts)

Server Response from: ETNAJIVE02