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:
- Generate a keystore, preferably of type PKCS12.
- Import your certificate to keystore. Make sure you also import the private key and have the correct key pair.
- Once the keystore is ready, open server.xml present in [ColdFusion Home]cfusionruntimeconf
- 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”/>
- Disable the normal connector port by commenting the line:
<Connector executor=”tomcatThreadPool” port=”your coldfusion port” protocol=”HTTP/1.1″ connectionTimeout=”20000″ redirectPort=”8449″ />
- Include the following code in your jvm.config file:
-Dcom.sun.net.ssl.enableECC=false” in java.args property
- 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.
- Generate a keystore, preferably of type PKCS12.
HOW??? Need specifics (commands, paths, etc.) - 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.) - Include the following code in your jvm.config file.
WHERE??? Need specific paths…
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):
You must be logged in to post a comment.