Where to import certificates in myWebmethods 7.1

Hi,
I need to use an external directory service(LDAP) for portal authentication. I have added this configuration as per Administrator documentation. I have imported the server certificates to the glue keystore as well as the jvm keystore. But I am not able to bind to the LDAP yet. Is there any other action which needs to be taken for this handshake to happen?

Hi,

Please help me find a solution for this…

Regards,
Arul.

What types of exceptions do you see in the MWS logs when the MWS directory services attempt to connect to your LDAP server? Also, since you are importing keystores, it sounds like you are attempting to connect over a secure connection, correct? Can you attach a screen shot of the Directory services configuration please?

Thanks,
–mark

Hi,
I get the following error stack trace, when I click on the “Test” connection I have created.

[POP.001.0002] A “java.lang.NullPointerException” occurred with the Message “at com.webmethods.portal.portlet.wm_xt_ldapdirsvc.mechanics.LdapdirsvcMechanics.createPagingCookie(LdapdirsvcMechanics.java:74)”

java.lang.NullPointerException
at com.webmethods.portal.portlet.wm_xt_ldapdirsvc.mechanics.LdapdirsvcMechanics.createPagingCookie(LdapdirsvcMechanics.java:74)
at com.webmethods.portal.mech.storage.impl.BasicMechanics.createPagingCookie(BasicMechanics.java:640)
at com.webmethods.portal.bizPolicy.command.view.GetPagingCookie.createCookie(GetPagingCookie.java:159)
at com.webmethods.portal.bizPolicy.command.view.GetPagingCookie.getPagingCookie(GetPagingCookie.java:128)
at com.webmethods.portal.bizPolicy.biz.view.impl.ViewablePolicy.getPagingCookie(ViewablePolicy.java:107)
at com.webmethods.portal.framework.portlet.beans.CachableListViewPortletBean.getCacheKeyParams(CachableListViewPortletBean.java:204)
at com.webmethods.portal.portlet.impl.wm_basicbreadcrumbs.Breadcrumbs.getCacheKeyParams(Breadcrumbs.java:66)
at com.webmethods.portal.framework.portlet.beans.CachableListViewPortletBean.createCacheKey(CachableListViewPortletBean.java:58)
at com.webmethods.portal.framework.portlet.beans.CachePortletBean.getCacheData(CachePortletBean.java:123)
at com.webmethods.portal.framework.portlet.beans.JspPortletBean.getContentInternal(JspPortletBean.java:68)
at com.webmethods.portal.framework.portlet.beans.BasicPortletBean.getContent(BasicPortletBean.java:143)
at com.webmethods.portal.mech.portlet.impl.PortletMechanics.getPortletContent(PortletMechanics.java:95)
at com.webmethods.portal.mech.storage.page.PortletHelper.renderContent(PortletHelper.java:403)
at com.webmethods.portal.mech.storage.page.PortletHelper.renderContent(PortletHelper.java:375)
at com.webmethods.portal.framework.presentation.renderers.ShellSubRenderer.renderPortlet(ShellSubRenderer.java:158)
at com.webmethods.portal.framework.presentation.renderers.PortalPageSubRenderer.renderColumn(PortalPageSubRenderer.java:206)
at com.webmethods.portal.framework.presentation.renderers.PortalPageSubRenderer.renderRow(PortalPageSubRenderer.java:167)
at com.webmethods.portal.framework.presentation.renderers.PortalPageSubRenderer.renderContent(PortalPageSubRenderer.java:128)
at com.webmethods.portal.framework.presentation.renderers.ShellSubRenderer.subrender(ShellSubRenderer.java:80)
at com.webmethods.portal.framework.presentation.renderers.DefaultRenderer.renderPageStart(DefaultRenderer.java:224)
at com.webmethods.portal.framework.presentation.renderers.DefaultRenderer.render(DefaultRenderer.java:187)
at com.webmethods.portal.framework.presentation.PresentationManager.handlePres(PresentationManager.java:359)
at com.webmethods.portal.framework.dispatch.DispatchManager.pres(DispatchManager.java:618)
at com.webmethods.portal.framework.dispatch.DispatchManager.handle(DispatchManager.java:458)
at com.webmethods.portal.framework.dispatch.DispatchManager.handleDispatch(DispatchManager.java:371)
at com.webmethods.portal.framework.impl.PortalServlet.service(PortalServlet.java:242)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:428)
at org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(WebApplicationHandler.java:830)
at com.webmethods.portal.framework.impl.NTLMFilter.doFilter(NTLMFilter.java:50)
at org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(WebApplicationHandler.java:821)
at com.webmethods.caf.faces.servlet.GZIPFilter.doFilter(GZIPFilter.java:34)
at org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(WebApplicationHandler.java:821)
at org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicationHandler.java:471)
at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:568)
at org.mortbay.http.HttpContext.handle(HttpContext.java:1530)
at org.mortbay.jetty.servlet.WebApplicationContext.handle(WebApplicationContext.java:633)
at org.mortbay.http.HttpContext.handle(HttpContext.java:1482)
at com.webmethods.portal.webApplication.WmWebAppContext.handle(WmWebAppContext.java:159)
at org.mortbay.http.HttpServer.service(HttpServer.java:909)
at org.mortbay.http.HttpConnection.service(HttpConnection.java:820)
at org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:986)
at org.mortbay.http.HttpConnection.handle(HttpConnection.java:837)
at org.mortbay.http.SocketListener.handleConnection(SocketListener.java:245)
at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:357)
at org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:534)

Yes I am attempting a secure connection (ldaps://)
The connection parameters I am using are the same settings as available in our webmethods IS “External User Management Configuration” for LDAP, which is working fine for the IS.