Java icon indicating copy to clipboard operation
Java copied to clipboard

openjdk18: Persist cacerts file

Open val1984 opened this issue 2 years ago • 2 comments

When you add certificates to your trust store, they are lost after update because the cacerts file is not persisted. This PR adds a persist section in openjdk18 manifest so that cacerts are kept between updates.

val1984 avatar Sep 06 '22 09:09 val1984

I am not sure about this change, mostly because I am unaware on how expired or removed certificates are handled.

Another workaround would be to set a different location manually with javax.net.ssl.trustStore and javax.net.ssl.keyStore

se35710 avatar Sep 06 '22 13:09 se35710

There are new major Java releases every 6 months, which have different package identifiers, so I think the risk of keeping forever a stale cacerts file is limited, no?

val1984 avatar Sep 12 '22 12:09 val1984