paketo-buildpacks / libjvm

A library and helper applications that form the basis for building the different Paketo-style JVM-providing buildpacks
Apache License 2.0
19 stars 20 forks source link

Load existing certs from pkcs12 store #346

Closed c0d1ngm0nk3y closed 6 months ago

c0d1ngm0nk3y commented 8 months ago

Summary

When writing a pkcs12 key store, we read first the existing certificates like done in the jks case. The implementation did remove any existing certs before.

Upport of https://github.com/paketo-buildpacks/libjvm/pull/344

Use Cases

The keystore provided by the JRE already contains some certificates.

Checklist

phil9909 commented 6 months ago

@dmikusa can you merge this as well? Same PR as #344, but targeting the release-2.x branch instead of main.