r1873 - in openfireauth: . src/main/java/cc/kune/core/server/auth/openfire
Author: vjrj_ Date: 2012-05-21 19:20:02 +0200 (Mon, 21 May 2012) New Revision: 1873 Added: openfireauth/TROUBLESHOOT Modified: openfireauth/src/main/java/cc/kune/core/server/auth/openfire/KuneAuthProvider.java Log: CLOSED - # 273: Some http usage breaks SSL http://kune.ourproject.org/issues/ticket/273 Added: openfireauth/TROUBLESHOOT =================================================================== --- openfireauth/TROUBLESHOOT (rev 0) +++ openfireauth/TROUBLESHOOT 2012-05-21 17:20:02 UTC (rev 1873) @@ -0,0 +1,19 @@ +TROUBLESHOOTING for kune -*- mode: org; -*- +#+ARCHIVE: %s_done:: + +* TROUBLESHOOTING + +** Cannot login when using SSL. +Probably is a issue with the certificate. + +http://nodsw.com/blog/leeland/2006/12/06-no-more-unable-find-valid-certifica... + +Follow the last procedure of: +http://confluence.atlassian.com/display/CONFKB/Unable+to+Connect+to+SSL+Serv... + Download the source http://confluence.atlassian.com/download/attachments/180292346/InstallCert.j... + From a command line prompt, cd to the directory where you downloaded the source. + Run 'javac InstallCert'. Make sure java is on your path. + Run 'java InstallCert YOURDOMAIN:443'. Check the response and add the correct destination. + Copy the created jssecacets to you JAVA_HOME security folder, in our case: + /usr/lib/jvm/java-6-sun/jre/lib/security + Restart openfire Modified: openfireauth/src/main/java/cc/kune/core/server/auth/openfire/KuneAuthProvider.java =================================================================== --- openfireauth/src/main/java/cc/kune/core/server/auth/openfire/KuneAuthProvider.java 2012-05-20 23:32:46 UTC (rev 1872) +++ openfireauth/src/main/java/cc/kune/core/server/auth/openfire/KuneAuthProvider.java 2012-05-21 17:20:02 UTC (rev 1873) @@ -42,6 +42,7 @@ final URL url = new URL((isSSL ? "https" : "http") + "://" + publicAddress + "/ws/UserService"); LOG.info("Service access URL: " + url); final GwtRpcService service = GwtRpcService.FACTORY.newInstance(); + userService = service.create(url, UserService.class); LOG.info("UserService created"); } catch (final Exception e) { @@ -57,7 +58,7 @@ LOG.info(String.format("User \'%s\' logged", username)); } catch (final Exception e) { final String msg = String.format(USER_NOT_LOGGED, username); - LOG.warn(msg); + LOG.warn(msg, e); throw new UnauthorizedException(msg); } LOG.info(String.format("User \'%s\' logged", username));
participants (1)
-
Vicente J. Ruiz Jurado