Non multa, sed multum!

Now with octopress.

SSL Connect From RubyMine (Win32)

| 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:

1
2
3
4
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
2
3
rem Export certificate *.cer
cd c:\Program Files (x86)\JetBrains\RubyMine 3.0.1\jre\jre\lib\security\
keytool -import -alias myAlias -keystore cacerts -file c:\myCertificate.cer