Adoptium Temurin JDK 11 is breaking certificate install #679
Labels
Bug
Something isn't working
Feature Request
Enhancement to existing functionality or new functionality
Priority: High
Critical work that must be completed
🗣️ Foreword
Installing Adoptium Temurin JDK 11 is breaking the certificate install when using the java_certificate resource.
👻 Brief Description
When using Adoptium Temurin JDK 11 the java_certificate resource is trying to use an incorrect path to locate the keystore:
It should be $JAVA_HOME/lib/security/cacerts, instead it's using $JAVA_HOME/jre/lib/security/cacerts
It appears there is no jre folder for this Java distribution/version.
🥞 Cookbook version
11.1.1
👩🍳 Chef-Infra Version
16.1.16
🎩 Platform details
Test Kitchen version 3.5.0
Vagrant 2.3.4
CentOS Linux release 7.5.1804 (Core)
Steps To Reproduce
Steps to reproduce the behavior:
🚓 Expected behavior
A certificate should be installed using the correct path to the keystore.
The text was updated successfully, but these errors were encountered: