title: com.iplanet.services.comm.client.SendRequestException: sun.security.validator.ValidatorException: PKIX path building failed:
body: <p>I did with following steps but its throwing exception:</p>
  
  <p>1.I have installed openam 10.0.0 on windows server 2003.</p>
  
  <p>2.Configured tomcat with ssl on the same windows server machine.</p>
  
  <p>3.It is configured correctly and openam url is accessible with https.</p>
  
  <p>4.Installed openam client sdk on another machine which is ubuntu machine and from that ubuntu machin i am trying to login to openam server using</p>
  
  <pre><code>        AuthContext lc = new AuthContext("/","https://server.ensarm.com:8443/openam/namingservice");
          AuthContext.IndexType indexType = AuthContext.IndexType.MODULE_INSTANCE;
          lc.login(indexType, "DataStore");
          return lc;
  </code></pre>
  
  <p>But i am getting following exception:</p>
  
  <pre><code>ERROR: Naming service connection failed for https://server.ensarm.com:8443/openam/namingservice
  com.iplanet.services.comm.client.SendRequestException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
  </code></pre>
  
  <p>I didn't understand what could be the problem.Is it due to to my java keystore (needed for ssl configuration) is on windows server machine and i have no keystore on ubuntu machine,</p>
  
  <p>OR</p>
  
  <p>need to import keystore into ubuntu machine.?? Please can anyone help me to get out of this.  </p>