01-10-2022, 11:40 AM
Hello.
I would like to use my IntraWeb application to serve multiple sites. Domain names are different because belong to different organizations.
I will clarify.
Option 1. It is acceptable to use:
site1.com - acceptable
site2.com - acceptable
etc
Option 2
site.com/app_for_firm1 - in my case, this is not possible
site.com/app_for_firm2 - in my case, this is not possible
Outside access to my IntraWeb application is through the standard SSL port (443). The IP address of all domains is the same.
At the start of the session, I can understand which site is being accessed (WebApplication.ApplicationURL) and provide the necessary interaction.
Is it possible to somehow use different SSL certificates for different domain names (site1.com, site2.com, etc)?
IWServerController has SSLOptions CertFileName, KeyFileName and RootCertFileName. It is understood that only one SSL certificate can be used.
1. Can IWServerController dynamically change certificates for different sessions?
2. Or maybe you can collect several certificates in one pem file (and keys too) and then IWServerController will independently figure out which certificate to use for which site?
Perhaps the topic has already been discussed previously, but I could not find a discussion. I found discussions similar to my option 2, but it doesn't work for me. Can you have a demo example?
I would like to use my IntraWeb application to serve multiple sites. Domain names are different because belong to different organizations.
I will clarify.
Option 1. It is acceptable to use:
site1.com - acceptable
site2.com - acceptable
etc
Option 2
site.com/app_for_firm1 - in my case, this is not possible
site.com/app_for_firm2 - in my case, this is not possible
Outside access to my IntraWeb application is through the standard SSL port (443). The IP address of all domains is the same.
At the start of the session, I can understand which site is being accessed (WebApplication.ApplicationURL) and provide the necessary interaction.
Is it possible to somehow use different SSL certificates for different domain names (site1.com, site2.com, etc)?
IWServerController has SSLOptions CertFileName, KeyFileName and RootCertFileName. It is understood that only one SSL certificate can be used.
1. Can IWServerController dynamically change certificates for different sessions?
2. Or maybe you can collect several certificates in one pem file (and keys too) and then IWServerController will independently figure out which certificate to use for which site?
Perhaps the topic has already been discussed previously, but I could not find a discussion. I found discussions similar to my option 2, but it doesn't work for me. Can you have a demo example?