October 30, 2017
How to enable SSL for ColdFusion Administrator running on internal ColdFusion port.
Comments
(2)
October 30, 2017
How to enable SSL for ColdFusion Administrator running on internal ColdFusion port.
Staff 11 posts
Followers: 3 people
(2)

We have removed administrator access from external web server for CF 2016 for security reasons. You can access the administrator only from the internal Tomcat web server port 8500 series.

Naturally, there are users who would want to make the administrator secure and enable SSL for the same.

 

Follow the instructions below to enable the SSL for Tomcat/ColdFusion:

  1. Generate a keystore, preferably of type PKCS12.
  2. Import your certificate to keystore. Make sure you also import the private key and have the correct key pair.
  3. Once the keystore is ready, open server.xml present in [ColdFusion Home]cfusionruntimeconf
  4. Add/uncomment the below lines:

<Connector port=” your coldfusion over SSL port ” protocol=”HTTP/1.1″ SSLEnabled=”true” maxThreads=”150″ scheme=”https” secure=”true” sslProtocol=”TLS” keystorePass=”password for your keystore”  keystoreFile=”location for your keystore”/>

  1. Disable the normal connector port by commenting the line:

<Connector executor=”tomcatThreadPool” port=”your coldfusion port” protocol=”HTTP/1.1″        connectionTimeout=”20000″ redirectPort=”8449″ />

  1. Include the following code in your jvm.config file:

    -Dcom.sun.net.ssl.enableECC=false” in java.args property

  1. Restart the ColdFusion server

 

You may see some issues related to TLS. Ensure that TLS 1.0, 1.1 and 1.2 are enabled on the browser. You might also see “no cipher suites in common” error for self-signed certificates. Ensure that you have both public and private key pair imported to the keystore.

2 Comments
2019-07-29 20:25:38
2019-07-29 20:25:38

  1. Generate a keystore, preferably of type PKCS12.
    HOW???  Need specifics (commands, paths, etc.)
  2. Import your certificate to keystore. Make sure you also import the private key and have the correct key pair.
    HOW???  Need specifics (commands, paths, etc.)
  3. Include the following code in your jvm.config file.
    WHERE???  Need specific paths…
Like
(1)
>
Hi There
's comment
2019-07-30 15:58:28
2019-07-30 15:58:28
>
Hi There
's comment

I agree that the post leaves out a lot of detail, but I can point out for you that since it was written (in 2017), the CF2018 Lockdown Guide came out and that DOES have a section showing how to enable SSL/TLS for the CF Admin (built-in web server).

The guide is here: https://www.adobe.com/content/dam/acom/en/products/coldfusion/pdfs/coldfusion-2018-lockdown-guide.pdf

And the section with the needed details is named, “To run the Builtin Web Server over TLS”.

Finally, FWIW, this same issue came up yesterday also on a blog post of my own (perhaps you were even the one asking for more info there, if under a different alias/name). I’ll say to readers here that I share still more info that may interest them about this topic, there (this link goes right to my comment):

https://www.carehart.org/blog/client/index.cfm/2012/7/23/The-builtin-web-server-in-ColdFusion-10-enabling-it-configuring-it-reconsidering-it/#c9EA03315-A448-278D-984B3BC157118279

Like
Add Comment