Mission Control is a Java app that runs on JVM. If you're attempting to add an Artifactory instance and encountering the SSL-related, sun.security.validator.ValidatorException error, it's most likely because the Artifactory instance you're trying to add is being proxied by a privately-signed/self-signed, certificate-equipped webserver. If this is the case, you'll need to import that certificate to the TrustStore of the Java installation that Mission Control is using. Here's how to do it:
1. Get your webserver's root and intermediate certificates by running:
OpenSSL s_client -showcerts -connect <REMOTE_URL>2. Save each certificate as a file. For example:
s:/C=US/ST=North Carolina/L=Raleigh/O=Red Hat, Inc./OU=Red Hat Network/CN=Entitlement Master CA/emailAddress=ca-support@redhat.com i:/C=US/ST=North Carolina/L=Raleigh/O=Red Hat, Inc./OU=Red Hat Network/CN=Entitlement Master CA/emailAddress=ca-support@redhat.com
What you see here indicates that the issuer (i:) is the same as the subject (s:), which indicates that this is the root certificate. Save the hash of the certificate (include —–BEGIN CERTIFICATE—– and —–END CERTIFICATE—– ) and save it as root.crt.
3. Identify which Java installation Mission Control is using.
4. Import root and intermediate certificates to your Java installation's trusted root certificate (typically called cacerts) by using a keytool import command. For example:
sudo keytool -importcert -keystore /usr/local/java/jdk1.8.0_60/jre/lib/security/cacerts -storepass changeit -file ~/Downloads/RHEL-cert/root.crt -alias "rhel-root"
More information is available HERE.
5. Restart Mission Control for your changes to take effect.