Home > Computers > SSL connect from RubyMine (win32)

SSL connect from RubyMine (win32)

January 4th, 2011 Leave a comment Go to comments

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
Categories: Computers Tags:
  1. No comments yet.
  1. No trackbacks yet.