|Anonymous | Login | Signup for a new account||11-29-2021 16:39 PST|
|Main | My View | View Issues | Change Log | Docs|
|Viewing Issue Simple Details [ Jump to Notes ]||[ View Advanced ] [ Issue History ] [ Print ]|
|ID||Category||Severity||Reproducibility||Date Submitted||Last Update|
|0006063||[Resin]||minor||always||06-20-17 18:10||07-05-17 15:40|
|Summary||0006063: JSSE properties settings issues|
(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);
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.
|06-20-17 18:10||ferg||New Issue|
|06-21-17 00:07||marc82ch||Issue Monitored: marc82ch|
|07-05-17 15:40||ferg||Note Added: 0006762|
|07-05-17 15:40||ferg||Assigned To||=> ferg|
|07-05-17 15:40||ferg||Status||new => closed|
|07-05-17 15:40||ferg||Resolution||open => fixed|
|07-05-17 15:40||ferg||Fixed in Version||=> 4.0.54|
| Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
30 total queries executed.|
26 unique queries executed.