Here is the solution that I used for installing a site's public cert into the systems keystore for use.
Download the certificate with the following command:
unix, linux, mac
openssl s_client -connect [host]:[port|443] < /dev/null | sed -ne '/-BEGIN CERTIFICATE-/,/-END CERTIFICATE-/p' > [host].crt
windows
openssl s_client -connect [host]:[port|443] < NUL | sed -ne '/-BEGIN CERTIFICATE-/,/-END CERTIFICATE-/p' > [host].crt
That will create a crt that can be used to import into a keystore.
Install the new certificate with the command:
keytool -import -alias "[host]" -keystore [path to keystore] -file [host].crt
This will allow you to import the new cert from the site that is causing the exception.