$ java InstallCert ecc.fedora.redhat.com
Enter certificate to add to trusted keystore or 'q' to quit: [1]
Added certificate to keystore 'jssecacerts' using alias
'ecc.fedora.redhat.com-1'
It displayed the complete certificate and then added it to a Java KeyStore 'jssecacerts' in the current directory. To use it in your program, either configure JSSE to use it as its trust store (as explained in the documentation) or copy it into your $JAVA_HOME/jre/lib/security directory. If you want all Java applications to recognize the certificate as trusted and not just JSSE, you could also overwrite the cacerts file in that directory.
SunCertPathBuilderException: unable to find valid certification path to requested target
No more 'unable to find valid certification path to requested target' | Natural Order Development
unable to find valid certification path to requested target (GC - Garbage Collection? GotCha?)
It displayed the complete certificate and then added it to a Java KeyStore 'jssecacerts' in the current directory. To use it in your program, either configure JSSE to use it as its trust store (as explained in the documentation) or copy it into your
$JAVA_HOME/jre/lib/security
directory. If you want all Java applications to recognize the certificate as trusted and not just JSSE, you could also overwrite thecacerts
file in that directory.Add CA Certificate
Add a certificate to the Java CA store | Microsoft Azure
List CA certificates
You'll be prompted for the store password. The default password is
changeit
.Import CA certificate
Import Certificate
Import the Certificate as a Trusted Certificate (The Java™ Tutorials > Security Features in Java SE > Exchanging Files)