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

Regression: Cannot enroll in RA Web using RSA key

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Not needed to fix
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
    • Issue discovered during:
      Testing
    • Sprint:
      EJBCA Happy Fun Sprint (6)

      Description

      When enroling in the RA web using an RSA key, you get the following exception.

      Keystore could not be generated for username 'thro36': org.cesecore.certificates.certificate.CertificateCreateException: org.bouncycastle.operator.OperatorCreationException: cannot create signer: Supplied key (org.bouncycastle.jcajce.provider.asymmetric.ec.BCECPrivateKey) is not a RSAPrivateKey instance.
      

      Obviously we are passing in an EC key instead of an RSA key.

      The signature algorithm of the CA is SHA3-256WithRSA and the key of the end entity is RSA2048.

      Wrong key in crypto token. Closing.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                bastianf Bastian Fredriksson
                Reporter:
                bastianf Bastian Fredriksson
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - 3 hours
                  3h
                  Remaining:
                  Remaining Estimate - 3 hours
                  3h
                  Logged:
                  Time Spent - Not Specified
                  Not Specified