Skip to main content
Participating Frequently
Jul 17, 2008 4:12 PM UTC
Question

SSL on Built-In Webserver Problems

Hi folks,

I followed these instructions to get SSL working via the built-in webserver for development purposes. I believe I followed the steps correctly, CF starts, and when I go to CF Admin via SSL like so:

https://localhost:9100/CFIDE/administrator/index.cfm

...Firefox warns me that the site is attempting to self-certify. This is cool, and I can specify an exception in Firefox so it will allow me to proceed. However, the next message that comes up stumps me:

quote:

An error occurred during a connection to localhost:9100.
Peer reports it experienced an internal error.
(Error code: ssl_error_internal_error_alert)

The page you are trying to view can not be shown because the authenticity of the received data could not be verified.

* Please contact the web site owners to inform them of this problem.



Any ideas?

Thanks!

Jim
    This topic is closed to new replies. Start a new post to keep the conversation going.

    14 replies

    Participant
    Feb 6, 2013 12:03 AM UTC

    go to CF Admin, go to “Java and JVM” on left menu, in “JVM Arguments”, add:

    -Dcoldfusion.disablejsafe=true

    restart CF, done

    Translate
    Participant
    Oct 13, 2011 10:39 PM UTC

    has anyone found a solution for this??

    Translate
    Inspiring
    Aug 5, 2008 2:42 AM UTC
    Seems the instructions you have followed are something specific to MX7 and not for CF8 (as you had already pointed this in your earlier post)..

    May be you can give up this built in webserver and have a try with other webservers like turnere0 suggests.
    Translate
    frogsmockAuthor
    Participating Frequently
    Aug 5, 2008 2:48 AM UTC
    I may have to do that, although it certainly seems like the built-in webserver should be able to support this.
    Translate
    Aug 5, 2008 3:09 PM UTC
    We had to do the same... in this case since it's a workstation situation we went with the IIS that is available within XP. Normally we would have considered Apache.

    It's really too bad that it's not supported within the built-in webserver.
    Translate
    Inspiring
    Aug 5, 2008 2:29 AM UTC
    Hi Jim,

    Have you enabled the SSL in your Coldfusion built-in webserver by editing the jrun.xml file?...

    Translate
    frogsmockAuthor
    Participating Frequently
    Aug 5, 2008 2:35 AM UTC
    Yup, I've done everything in the instructions I linked to in my original post.
    Translate
    Inspiring
    Aug 5, 2008 1:55 AM UTC
    Hi,

    What version of Firefox are you using?...
    Translate
    frogsmockAuthor
    Participating Frequently
    Aug 5, 2008 2:09 AM UTC
    FF3, and I also get errors in IE7 and and Opera 8.51 (old version, I know).
    Translate
    Jul 21, 2008 11:53 PM UTC
    Funny, just doing the same thing and getting the same error. Did you make any progress?
    I can't find much on this error at all.
    Translate
    frogsmockAuthor
    Participating Frequently
    Jul 22, 2008 12:33 AM UTC
    No progress at all, I'm afraid. I'm pretty confident I created and installed the certificate correctly, as Firefox is finding the certificate when I plug localhost:9100 into the exceptions dialog (Firefox is able to retrieve the certificate, warn me that it's self-signed, and then add it as an exception). It's when I then try to make https requests (like trying to load CF Admin, as suggested by the instructions) that the intractable error appears. I've tried it in FF, IE, and Opera, and none can load the page, so I suspect something's funky on the CF side, but I have no idea what.

    I've tried deleting everything and starting from scratch several times, including using very simple passwords on the certificate, to no avail (I don't think it was a password anyway, as when you get the password wrong you can find those errors in the logs). What I *haven't* tried yet is reinstalling CF, or trying to analyze the SSL handshaking with Wireshark. I was hoping to find an answer here, before I try delving into that.
    Translate
    Aug 3, 2008 11:24 AM UTC
    I'm having the same problem. Any progress? I just submitted a support ticket to Adobe.

    Just out of curiosity, what platform are you running the server on? Mine is on Fedora 9 x86_64.
    Translate