Mantis - Resin
|
|||||
Viewing Issue Advanced Details | |||||
|
|||||
ID: | Category: | Severity: | Reproducibility: | Date Submitted: | Last Update: |
6063 | minor | always | 06-20-17 18:10 | 07-05-17 15:40 | |
|
|||||
Reporter: | ferg | Platform: | |||
Assigned To: | ferg | OS: | |||
Priority: | normal | OS Version: | |||
Status: | closed | Product Version: | 4.0.52 | ||
Product Build: | Resolution: | fixed | |||
Projection: | none | ||||
ETA: | none | Fixed in Version: | 4.0.54 | ||
|
|||||
Summary: | 0006063: JSSE properties settings issues | ||||
Description: |
(rep by Marc Wiest) We’ve just (or wanted to) upgrade resin to 4.0.52, when we faced the following problem: A program that works perfectly well on 4.0.49 is starting to throw SSLHandshakeExceptions when making an HTTPS connection to buy.itunes.apple.com The program snippet is plain simple (using Spring REST Template): // Set header HttpHeaders requestHeaders = new HttpHeaders(); requestHeaders.set("Content-Type", "application/json; charset=UTF-8"); // Assemble and send request RestTemplate restTemplate = new RestTemplate(); HttpEntity<?> httpEntity = new HttpEntity<Object>(requestBody.toString(), requestHeaders); return restTemplate.exchange(url, HttpMethod.POST, httpEntity, String.class); Nothing special. We first thought it would be the Java JRE issue and downgraded that to what we had previously but that didn’t make a difference. However, downgrading resin back to 4.0.49 solved the problem. Can you imagine why this is happening? Is resin setting any system properties on cipher suites, etc. that would affect outgoing HTTPS connections from the application? I personally don’t see how it can be resin’s fault, but it obviously is! We’re running on Debian and OpenJDK 1.8.0_131. |
||||
Steps To Reproduce: | |||||
Additional Information: | |||||
Relationships | |||||
Attached Files: |
Notes | |||||
|
|||||
|
|