I would like to test https related development on my local machine before pushing it to staging and production.
The current url is: http://localhost:8500/mysite/index.cfm
which works fine
If I try and modify it to https, the page just loads and loads and nothing happens (in chrome it gets to the "This webpage is not available" page)
I have googled for information relating to this, but have not found anything helpful. The only information I have found was related to older versions of CF. From that I have created a my.keystore file, but am not sure what to do with it in CF9.
If any information could be provided that would assist me in setting this up / getting it working and testing, I would be extremely grateful . Thanks
If you want to enable SSL on the built in JRUN webserver follow the steps described here: Enabling SSL on the ColdFusion 8 built-in web server. Make sure to read the comments section especially what it says about the JVM arguments. Same procedure should work for ColdFusion 9.
Personally I second Paul's answer and would recommend using IIS or Apache, even in a development environment.
Install IIS / Apache, hook ColdFusion into the webserver, then install the SSL certificate locally.
Personally I think it's best to replicate production as close as possible in development so I am not a fan of using the inbuilt server and always use a webserver.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With