Hello again...
I just tried this with some an IPv6 address in:
/var/lib/rhpki-ca/conf/flatfile.txt
Explicitly:
--
UID=2001:a::1
PWD=123456
--
Here's the error trail...
---
# tail -f /var/log/pki-ca/debug
[23/Apr/2009:18:30:03][http-9180-Processor24]: operation=PKIOperation
[23/Apr/2009:18:30:03][http-9180-Processor24]: message=MIIHWQYJK
...
hK1frjNF9w+FCAIahXRKFlQmGEVJ8IU5bBRiS1hfjjybPD3XDWb0B4UZjyr/JFYcE/3gwnw==
[23/Apr/2009:18:30:03][http-9180-Processor24]: Processing PKCSReq
[23/Apr/2009:18:30:03][http-9180-Processor24]: getConn: mNumConns now 2
[23/Apr/2009:18:30:03][http-9180-Processor24]: returnConn: mNumConns now 3
[23/Apr/2009:18:30:03][http-9180-Processor24]: decryptedP10bytes:
30 82 01 cf 30 82 01 38 02 01 00 30 3e 31 16 30
...
3f ad 12 05 05 05 05 05
[23/Apr/2009:18:30:03][http-9180-Processor24]: Found profile=caRouterCert
[23/Apr/2009:18:30:03][http-9180-Processor24]: Retrieving authenticator
[23/Apr/2009:18:30:03][http-9180-Processor24]: Got
authenticator=com.netscape.cms.authentication.FlatFileAuth
[23/Apr/2009:18:30:03][http-9180-Processor24]: FlatFileAuth: concatenating string i=0
keyAttrs[0] = UID
[23/Apr/2009:18:30:03][http-9180-Processor24]: FlatFileAuth: authenticating user: finding
user from key: 2001:a:0:0:0:0:0:1
[23/Apr/2009:18:30:03][http-9180-Processor24]: handlePKIMessage exception
java.lang.NullPointerException
java.lang.NullPointerException
at
com.netscape.cms.authentication.FlatFileAuth.authenticate(FlatFileAuth.java:462)
at
com.netscape.cms.servlet.cert.scep.CRSEnrollment.authenticate(CRSEnrollment.java:276)
at
com.netscape.cms.servlet.cert.scep.CRSEnrollment.postRequest(CRSEnrollment.java:1378)
at
com.netscape.cms.servlet.cert.scep.CRSEnrollment.handlePKCSReq(CRSEnrollment.java:1282)
at
com.netscape.cms.servlet.cert.scep.CRSEnrollment.handlePKIOperation(CRSEnrollment.java:671)
at
com.netscape.cms.servlet.cert.scep.CRSEnrollment.service(CRSEnrollment.java:231)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:172)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:548)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:174)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:875)
at
org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665)
at
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)
at
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)
at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:689)
at java.lang.Thread.run(Thread.java:636)
[23/Apr/2009:18:30:03][http-9180-Processor24]: Service exception
javax.servlet.ServletException: Failed to process message in CEP servlet: null
---
I tried with an IPv4 address again.
---
[23/Apr/2009:19:29:40][http-9180-Processor25]: Found profile=caRouterCert
[23/Apr/2009:19:29:40][http-9180-Processor25]: Retrieving authenticator
[23/Apr/2009:19:29:40][http-9180-Processor25]: Got
authenticator=com.netscape.cms.authentication.FlatFileAuth
[23/Apr/2009:19:29:40][http-9180-Processor25]: FlatFileAuth: concatenating string i=0
keyAttrs[0] = UID
[23/Apr/2009:19:29:40][http-9180-Processor25]: FlatFileAuth: authenticating user: finding
user from key: 200.1.0.1
[23/Apr/2009:19:29:40][http-9180-Processor25]: handlePKIMessage exception
java.lang.NullPointerException
java.lang.NullPointerException
at
com.netscape.cms.authentication.FlatFileAuth.authenticate(FlatFileAuth.java:462)
at
com.netscape.cms.servlet.cert.scep.CRSEnrollment.authenticate(CRSEnrollment.java:276)
at
com.netscape.cms.servlet.cert.scep.CRSEnrollment.postRequest(CRSEnrollment.java:1378)
at
com.netscape.cms.servlet.cert.scep.CRSEnrollment.handlePKCSReq(CRSEnrollment.java:1282)
at
com.netscape.cms.servlet.cert.scep.CRSEnrollment.handlePKIOperation(CRSEnrollment.java:671)
at
com.netscape.cms.servlet.cert.scep.CRSEnrollment.service(CRSEnrollment.java:231)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:172)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:548)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:174)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:875)
at
org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665)
at
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)
at
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)
at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:689)
at java.lang.Thread.run(Thread.java:636)
[23/Apr/2009:19:29:40][http-9180-Processor25]: Service exception
javax.servlet.ServletException: Failed to process message in CEP servlet: null
--
Same NullPointerException even after restarting pki-ca.
Any ideas?
Show replies by date