Bug 1102465
| Summary: | Problem with SSL certificates when running clients against translate.zanata.org | |||
|---|---|---|---|---|
| Product: | [Retired] Zanata | Reporter: | Carlos Munoz <camunoz> | |
| Component: | Component-Maven, Component-zanata-client, Component-zanata-client-ivy | Assignee: | Damian Jansen <djansen> | |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Ding-Yi Chen <dchen> | |
| Severity: | urgent | Docs Contact: | ||
| Priority: | urgent | |||
| Version: | 3.4 | CC: | dchen, sflaniga, zanata-bugs | |
| Target Milestone: | --- | |||
| Target Release: | --- | |||
| Hardware: | Unspecified | |||
| OS: | Unspecified | |||
| Whiteboard: | ||||
| Fixed In Version: | org.zanata:zanata-maven-plugin:3.3.2-SNAPSHOT(d3b0682220b0e92bad73f10a52ae3baf6a910c71) | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | ||
| Clone Of: | ||||
| : | 1102480 (view as bug list) | Environment: | ||
| Last Closed: | 2014-05-30 00:38:40 UTC | Type: | Bug | |
| Regression: | --- | Mount Type: | --- | |
| Documentation: | --- | CRM: | ||
| Verified Versions: | Category: | --- | ||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | ||
| Cloudforms Team: | --- | Target Upstream Version: | ||
| Embargoed: | ||||
| Bug Depends On: | ||||
| Bug Blocks: | 1102480 | |||
|
Description
Carlos Munoz
2014-05-29 03:44:16 UTC
Note that the openssl does the right thing, if you activate SNI with the option
-servername translate.zanata.org
eg
</dev/null openssl s_client -connect translate.zanata.org:443 -servername translate.zanata.org | openssl x509|grep depth
I was able to test on Java 1.6 (even though my default JVM is 1.7) with a command line like this:
JAVACMD=/usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/bin/java mvn org.zanata:zanata-maven-plugin:3.3.2-SNAPSHOT:stats -Dzanata.url=https://translate.zanata.org/zanata/ -Dzanata.project=test -Dzanata.projectVersion=test -Dzanata.disableSSLCert
The JAVACMD variable forces the use of Java 1.6.
VERIFIED with org.zanata:zanata-maven-plugin:3.3.2-SNAPSHOT https://github.com/zanata/zanata-client/commit/d3b0682220b0e92bad73f10a52ae3baf6a910c71 Notes: This fix only apply for Java-1.7 or higher, for java-1.6, option -Dzanata.disableSSLCert must be used. |