Environment
Novell NetWare 5.1
Novell Portal Services 1.0
Novell Portal Services 1.01
Novell Portal Services 1.5
Novell iManager 1.5.2
Situation
LDAP Communication between Novell Portal Services and the LDAP server is in cleartext.
iManager returns error: "Unable to get LDAP context Exception: <IP Address of LDAP server>:<SSL port of LDAP server>"
Import new Certificate for Portal Services, iManager and NetWare 6 WebAccess
Resolution
- JDK/SDK 1.3.x or newer on a Workstation
- ConsoleOne 1.2d or newer with PKI snap-in's
- NICI 1.5.7 or later on the workstation (depending on the ConsoleOne PKI snap-in)
- Make a backup of SYS:\JAVA\LIB\SECURITY\CACERTS
- Copy SYS:\JAVA\LIB\SECURITY\CACERTS to a WorkingDirectory on the Workstation
- Install JDK on the Workstation
- Add C:\JDK-<version> to the path on the WorkStation
- Use ConsoleOne to export the PublicKey of the "SSL
CertificateDNS" (or any other Certificate with is used with the
LDAP Group) in binary DER format and name it CA.DER.
Copy this file to the WorkingDirectory on the WorkStation. - Use KeyTool to import the certificate into CACERTS:
1. keytool -import -file ca.der -keystore cacerts <enter>
2. password: changeit <enter>
3. Trust this certificate? [no]: yes <enter> - Make sure that CACERTS was modified.
- Copy CACERTS back to the server (SYS:\JAVA\LIB\SECURITY\)
- Unload Java on the server: java -exit
- Make sure that PortalServlet.properties has the right
settings:
- System.DirectoryAddress=<server tcp/ip address>:636
- System.DirectorySSL=true
On NetWare 5.1 with Novell Portal Services this file is in: SYS:\TOMCAT\WEBAPPS\NPS\WEB-INF\
On NetWare 6.0 with WebAccess this file is in SYS:\WEBAPPS\WEBACCESS\WEB-INF\ - Start Tomcat: tomcat33.ncf
Additional Information
SSL was not setup during installation.
Novell NetWare 6 error trying to login to WebAccess:
Cannot login into WebAccess, error: "Error: 500"
Error: 500
Location: /webaccess/servlet/portal
Internal Servlet Error:
javax.servlet.ServletException: The portal is unable to login:
authenticate: [cn=WebAccess_pco,ou=WebAccess,ou=Services,o=Lab] ::
javax.naming.CommunicationException::cpl-lab-nw6.lab.cpl.novell.com:636
at
com.novell.nps.configManager.ConfigManager.init(ConfigManager.java,
Compiled Code)
at
com.novell.nps.PortalServlet.init(PortalServlet.java:212)
at
org.apache.tomcat.facade.ServletHandler.doInit(ServletHandler.java:410)
at
org.apache.tomcat.facade.ServletHandler.init(ServletHandler.java,
Compiled Code)
at
org.apache.tomcat.facade.ServletHandler.service(ServletHandler.java:435)
at
org.apache.tomcat.core.ContextManager.internalService(ContextManager.java,
Compiled Code)
at
org.apache.tomcat.core.ContextManager.service(ContextManager.java,
Compiled Code)
at
org.apache.tomcat.modules.server.Ajp13Interceptor.processConnection(Ajp13Interceptor.java,
Compiled Code)
at
org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java,
Compiled Code)
at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java,
Compiled Code)
at
java.lang.Thread.run(Unknown Source)