Copy link to clipboard
Copied
Good afternoon!
How could I change coldfusion to use HTTPS instead of HTTP?
I have to adapt to the LGPD law in Brazil!
Thank´s!
Copy link to clipboard
Copied
Mauroslucios, you may be asking the wrong question. 🙂 If you use a web server with CF (such as IIS or Apache), then your question really is how to enable https with that web server. In other words, if you are asking how to make your web site use https, and that web site is configured in such a web server, it's in THAT web server you would configure the https support, not in cf.
As such, you can seek your answer in far wider circles than here (via searching or other non-cf forums), depending on which web server you use. There's no need to worry about "enabling https in ColdFusion".
You may well find discussions about "enabling https in ColdFusion", but if those are about modifying the server.xml file within CF to enable or add certs to support the 8443 port, for instance, that would instead be about enabling SSL for the BUILT-IN WEB SERVER within cf, used primarily for the cf admin. And that MAY be interesting to do, but it's not NECESSARY for the first point I make above, of adding https to your web sites served via a web server like Apache or IIS. (FWIW, such web servers referred to in CF as "external" web servers, as they are external to CF, not external to the box running cf--though that's indeed an option.)
Others may well chime on with more specifics about setting up https for whatever web server you do use, but I just wanted to clarify until then that you don't need to wait for that answer here.
Hope that's helpful.