Uploaded image for project: 'JBoss Enterprise Application Platform'
  1. JBoss Enterprise Application Platform
  2. JBEAP-21816

Fix test failures in AutomaticSelfSignedCertificateNotGeneratedTestCase that happen with openjdk-1.8.0.292

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 7.4.0.CR2
    • 7.4.0.GA
    • Security, Test Suite
    • None

      With openjdk-1.8.0.292, AutomaticSelfSignedCertificateNotGeneratedTestCase has started failing. The underlying problem is that the following exception occurs while attempting to set up the key store that's needed for the test:

      java.security.KeyStoreException: Key protection  algorithm not found: java.security.UnrecoverableKeyException: Encrypt Private Key failed: unrecognized algorithm name: PBEWithSHA1AndDESede
      

      We can fix this by making sure a stronger encryption algorithm gets used.

      Another way to fix the test would be to make use of a JKS key store instead of a PKCS12 keystore.

              fjuma1@redhat.com Farah Juma
              okotek@redhat.com Ondrej Kotek
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: