setup-java icon indicating copy to clipboard operation
setup-java copied to clipboard

Add cacerts parameter, which can copy existing cacerts into JDK

Open mdvorak opened this issue 4 years ago • 0 comments

Description: In enterprise environment, custom CA truststore is often used. This parameter allows automatic copy of cacerts file into new Java installation.

Check list:

  • [X] Mark if documentation changes are required.
  • [ ] Mark if tests were added or updated to cover the changes.

There are no e2e test yet, I can add some if you are interested in merging this.

Note that this modifies actual JDK directory. I was worried about tool cache, but it seems that tool is cached (copied) right after extraction, so copying this file into final directory does not modify tool cache at all. It should be safe.

mdvorak avatar Jan 21 '22 14:01 mdvorak