Artifactory (6.x) fails to start after patching Java 8

Artifactory (6.x) fails to start after patching Java 8

AuthorFullName__c
Ino Choi
articleNumber
000005099
ft:sourceType
Salesforce
FirstPublishedDate
2021-06-29T17:50:13Z
lastModifiedDate
2021-06-29
VersionNumber
6
Relevant Versions: Artifactory 6.11 and above. Not relevant for Artifactory 7.x.

With the Java 8 GA release - 8u292-b10 (1.8.0_292), you may experience Artifactory failing to start up with the following error:
org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'accessImporterExporterImpl': Unsatisfied dependency expressed through method 'setServerBootstrap' parameter 0; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'accessServerBootstrapImpl': Invocation of init method failed; nested exception is java.lang.RuntimeException: java.security.KeyStoreException: Key protection  algorithm not found: java.security.UnrecoverableKeyException: Encrypt Private Key failed: unrecognized algorithm name: PBEWithSHA1AndDESede 
 
This is a known issue with Java version “1.8.0_292”. You may refer to the links below that illustrate the issue in detail.

https://github.com/bcgit/bc-java/issues/941
https://bugs.openjdk.java.net/browse/JDK-8266279
https://bugs.openjdk.java.net/browse/JDK-8266261

To overcome this issue, you may choose the following options.
  • Roll back to the previous stable version of JDK 8 - 8u282-b08 (1.8.0_282)
  • Upgrade to the JDK 11 version