NetTalk Central

Author Topic: Host app and sites with SSL  (Read 2605 times)

olu

  • Sr. Member
  • ****
  • Posts: 352
    • View Profile
    • Email
Host app and sites with SSL
« on: September 02, 2013, 10:26:54 PM »
Hi Please how can I add a site that uses SSL to a Host app that already serve other sites that do not have SSL. I have a site that at the moment that I run on another machine and have just recently add SSL to and use to run it as a exe and now want to convert it to a dll and run it with the host app but got the host app running other sites without SSL. Please how can I do this?

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11250
    • View Profile
Re: Host app and sites with SSL
« Reply #1 on: September 03, 2013, 07:08:30 AM »
Hi Olu,

>> how can I add a site that uses SSL to a Host app that already serve other sites that do not have SSL.

You can't, because non-secure apps run on port 80, and secure apps run on port 443. Since the host only listens on one port, you can't do both.

You can of course run a second Host.Exe, this one listening on port 443, and attach your DLL to that. However because the host needs a certificate, you are somewhat limited to the number of SSL DLL's you can run under one host. If you have a wild-card certificate then you can run multiple sub-domains on the same SSL host.

Cheers
Bruce