This content has been marked as final.
Show 3 replies
-
1. Re: SSL with Nukes?
julien1 Feb 13, 2004 3:10 PM (in response to mcscottmc)I never tried it so far and I am not an SSL expert as well. If someone has experience here that would be cool to looki into that problem
-
2. Re: SSL with Nukes?
mcscottmc Feb 13, 2004 3:46 PM (in response to mcscottmc)OK,
I found the problem and I have a fix. The problem was in org.jboss.nukes.util.Tools.computeServerBase(String, int String). The code was hardcoding "http://" into every base URL. I updated my local copy to also take in a scheme:public static String computeServerBase(String scheme, String serverName, int port, String context) { StringBuffer base = new StringBuffer(scheme).append("://").append(serverName); if (port != 80) { base.append(':').append(port); } base.append(context); return base.toString(); }
I also edited ThemeSupport and BBModule to now pass in page.getScheme() as the first parameter. SSL works now. You might want to update this in the CVS.
-Scott -
3. Re: SSL with Nukes?
julien1 Feb 14, 2004 5:10 PM (in response to mcscottmc)I will, just send me an email as reminder please