Testing HTTPS Locally with Coldfusion

I would like to test https development on my local machine before pushing it to the stage and production.

Current url: http://localhost:8500/mysite/index.cfm , which works fine

If I try to change it to https, the page just loads and loads, and nothing happens (in chrome, it gets to the "This page is not available" page)

I searched for information about this, but did not find anything useful. The only information I found was related to older versions of CF. From this, I created the my.keystore file, but I'm not sure what to do with it in CF9.

If any information was provided that would help me in setting up this process / its work and testing, I would be extremely grateful. Thanks

+6
source share
3 answers

Install IIS / Apache, connect ColdFusion to the web server, and then install the SSL certificate locally.

Personally, I believe that it is best to replicate production as close to development as possible, so I'm not a fan of using the embedded server and always use a web server.

+3
source

If you want to enable SSL on the JRUN Embedded Web Server, complete the following steps: Enable SSL on the ColdFusion 8 Embedded Web Server . Be sure to read the comments section, especially what it says about JVM arguments. The same procedure should work for ColdFusion 9.

Personally, I answer the second Paul and recommend using IIS or Apache even in the development environment.

+4
source

Use IIS7 and use the Self-Signed Certificates property. You can refer to the URL below to make your own certificates.

http://weblogs.asp.net/scottgu/archive/2007/04/06/tip-trick-enabling-ssl-on-iis7-using-self-signed-certificates.aspx

+1
source

All Articles