javax.servlet.ServletException

No valid keys in directory /opt/keys

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web1365

  • via ejbca by mzulqar
    , 1 year ago
    No valid keys in directory /opt/keys
  • via ejbca by plagri
    , 1 year ago
    No valid keys in directory /opt/jboss-4.2.2.GA/bin/keys, or in PKCS\#11 keystore.
  • java.lang.IllegalStateException: Form too many keys
  • Stack trace

    • javax.servlet.ServletException: No valid keys in directory /opt/keys at org.ejbca.ui.web.protocol.OCSPServletStandAlone.loadPrivateKeys(OCSPServletStandAlone.java:396) at org.ejbca.ui.web.protocol.OCSPServletBase.loadCertificates(OCSPServletBase.java:162) at org.ejbca.ui.web.protocol.OCSPServletBase.service(OCSPServletBase.java:461) at org.ejbca.ui.web.protocol.OCSPServletBase.doPost(OCSPServletBase.java:415) at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    You’re the first here who have seen this exception.