Cat’s gopniks
January 8th, 2011
No comments
Categories: Humour
SSL connection is used when using, for example, RubyMine integration with bugtrackers or Task servers, like Redmine
or Jira.
If certificate is not installed to RubyMine’s keystore within jre,
it fails with an error:
sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
To avoid this:
1. Export certificate *.cer
2.
cd c:\Program Files (x86)\JetBrains\RubyMine 3.0.1\jre\jre\lib\security\
3.
keytool -import -alias myAlias -keystore cacerts -file c:\myCertificate.cer