Uploaded image for project: 'EJBCA'
  1. EJBCA
  2. ECA-1678

Support Public Web enrollment in Chrome

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Cosmetic
    • Resolution: Fixed
    • Affects Version/s: EJBCA 3.9.1
    • Fix Version/s: EJBCA 4.0.2
    • Component/s: Public Web UI
    • Labels:
      None

      Description

      It seems like it uses KEYGEN in at least some way since this is HTTP parameter..

      Here is the resulting error message:

      Username: TestGoogleChrome
      Parameter names and values:

      keygen: 'MIICPDCCASYwggEgMAsGCSqGSIb3DQEBAQOCAQ8AMIIBCgKCAQEArKQiaF2KU8CsmEBDRKtDdd7E68u5ft3V0GJascZOED5p3TzKVoVVj7Rp9IirU7N3bEqo/0/KCnJ4aCVHx4DUwpIU9XEVPw31hKtn7+yQGy7TxSGnB7rYE7KPO9jQs2Re6gpmdwXfbiNdcMoKe/CJAfnrMSgGE49GR04xjtdk+ZVgPNdeSbMJJ9WcngcAjF+ZEvMlv4lrfGtLOPWsRaGP+1mdQqOCKZaGEL2g6JyEZr1el+MC/Tta8cILtpMHSR2opilZrKrEEVl9Z9MrngCQWZRPUHhEg+AUNHkJ340jDMssNgnoDACat2wwjDIIgfN6NygQopiB5exfVkJsNq+pmwIDAQABFgEwCwYJKoZIhvcNAQEEA4IBAQAr6dSD8UyLphUI8hfkQrEjSpkrGJqooP8Q3lAc3dzSGehuSxWZExHzlm0PjGC5RySYfP8/k5jDmyTicBC2ChtcyNrrhHVCCPfhOlhCSzBg1N6kDRIHTTd6Q2lL9VBemqMDfIOBnZclJ6js8n06Y0ozWNnAU9taeVvQ3EgRPynqfBGpmXs1jVAdmhX9kiM2k/Udz/NCU5ddcZs8oeiDiSlBoHoc1fAvMAWk/EaoM7u0DAe05E3YMNtK5BkCuxYc4cqg8cxuYv6JfTtEcYfG/MF6Quz74SS/+ZMwpvSxcRVXYPxGaYBOCvOdF3f+tGGNrGHhAYaCGJjoRjpTdMYZaNSG'

      certprofile: 'AuthEndEntityCertificateProfile'

      password: <hidden>

      user: 'TestGoogleChrome'

      Exception:
      java.io.EOFException: DEF length 1 object truncated by 1
      at org.bouncycastle.asn1.DefiniteLengthInputStream.toByteArray(Unknown Source)
      at org.bouncycastle.asn1.ASN1InputStream.buildObject(Unknown Source)
      at org.bouncycastle.asn1.ASN1InputStream.readObject(Unknown Source)
      at org.bouncycastle.asn1.ASN1InputStream.buildEncodableVector(Unknown Source)
      at org.bouncycastle.asn1.ASN1InputStream.buildDEREncodableVector(Unknown Source)
      at org.bouncycastle.asn1.ASN1InputStream.buildObject(Unknown Source)
      at org.bouncycastle.asn1.ASN1InputStream.readObject(Unknown Source)
      at org.bouncycastle.asn1.ASN1InputStream.buildEncodableVector(Unknown Source)
      at org.bouncycastle.asn1.ASN1InputStream.buildDEREncodableVector(Unknown Source)
      at org.bouncycastle.asn1.ASN1InputStream.buildObject(Unknown Source)
      at org.bouncycastle.asn1.ASN1InputStream.readObject(Unknown Source)
      at org.ejbca.ui.web.RequestHelper.nsCertRequest(RequestHelper.java:116)
      at org.ejbca.ui.web.pub.CertReqServlet$RequestInstance.doPost(CertReqServlet.java:291)
      at org.ejbca.ui.web.pub.CertReqServlet.doPost(CertReqServlet.java:726)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)
      at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
      at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:182)
      at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
      at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
      at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
      at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157)
      at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
      at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:262)
      at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
      at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
      at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:446)
      at java.lang.Thread.run(Thread.java:619)

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              mikek Mike Agrenius Kushner
              Reporter:
              johan Johan Eklund
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: