Securing URL
Hi Guys,
Not really familiar with how to secure URLs and using SSLs, but we currently looking to change our url from http:/www to https:/www so my understanding is once we get a certificate its a matter of creating a new SSL/TLS configuration and assign the certificate to it, then what how to apply it in out URL, or do we have to do this in IIS?
Thanks
Comments
Do you want to use SSL/TLS for incoming connection to IRIS (Ensemble) or want to use SSL/TLS for outgoing connections from IRIS (Ensemble) to other systems, possibly using some HTTP/SOAP/etc. adapter?
Please provide some detail.
If you want to secure your web application, rest/soap api's and SMP then you need to do this in IIS/Apache.
Also if you plan to do this work, it would also be a good idea to disable PWS (private web server) and configure the ports served by PWS also to be served by IIS?Apache.
Thanks Guys, its just to secure access to URL eg. http://mywebsite.com to https://mywebsite.com.
Websites in IIS normally are running in %SystemDrive%\inetpub\wwwroot, is this the same for Ensemble websites when published in IIS and CSPGateway is just the mediator or Intersystems Ensemble website are actually running in CSPGateway, because in our case we are only applying the certificate for only one URL?
Thanks
essentially the webgateway/cspgateway relays the non-static portions of your website to Ensemble for processing and serving.
refer to: WebGateway Introduction | InterSystems IRIS Data Platform 2024.1
If you are accessing them through IIS now (i.e. using port 80) then you just need to get the SSL certificate set up in IIS and you'll be able to access those URLs using HTTPS. Keep in mind that HTTPS by default uses port 443, so you may have to make a firewall change accordingly.
You may also want to consider setting up a URL rewrite so that requests that come in as HTTP are redirected to their new HTTPS versions.