How to include a certificate in a jar keystore

30 Views Asked by At

I would like to know if there is way to add a certificate file (.cer) to a jar keystore while building the jar with maven Any help would be much appreciated.

1

There are 1 best solutions below

0
Thorbjørn Ravn Andersen On

Add it to the resource folder. Will be available on the classpath as a resource.