Manually generate the Java root certificate 2018/12/30 | Programming/ Java | Programming Java Security Manually generate the Java root certificateRelated packages123# dpkg -l | grep ca-certificatesii ca-certificates 20161130+nmu1+deb9u1 all Common CA certificatesii ca-certificates-java 20170929~deb9u3 all Common CA certificates (JKS keystore) Shell script123456789storepass='changeit'JAR=/usr/share/ca-certificates-java/ca-certificates-java.jarrm -f /etc/ssl/certs/java/cacertsfind /etc/ssl/certs -name \*.pem | \while read filename; do echo "+${filename}"done | \java -Xmx64m -jar $JAR -storepass "$storepass"