We are in the process of updating our code base to work with SmartGWT v6. We have encountered an issue with making web service calls on the client to a server different from the web server. This has been working with the same java keystore, Tomcat configuration and java code and an older version of SmartGWT. The only thing that changed was upgrading to SmartGWT v6 from a much older version. Below is information on the problem. Note the below code will work properly if we use a non-SSL REST server. The problem appears as though the HttpProxyServlet does not forward the web server cert to the remote REST server.
Any ideas?
Brower: Firefox
Tomcat: v7
SmartGWT: v11.0p_2016-05-12/PowerEdition Deployment 2016-05-12
Code Snippet
DataSource ds = new DataSource();
ds.setDataFormat(DSDataFormat.XML);
ds.setDataURL("https://mysite.com/employee.xml?employeeId=123");
ds.fetchData();
SmartGWT log snippets
2016-06-03 13:13:51,100 INFO [com.isomorphic.servlet.HttpProxyServlet] HttpProxy - No rules defined - proxying all incoming URLs.
...
2016-06-03 13:13:52,100 INFO [com.isomorphic.servlet.HttpProxyServlet] HttpProxy - ProxyData is: { xsi:"blahschema",
url:"https://mysite.com/employee.xml?employeeId=123", httpMethod:"GET", params:{}, contentType:null, requestBody:null, username:null,
password:null, httpHeaders:null, uploadFileName:null,callbackParam:null}
2016-06-03 13:13:53,100 INFO [com.isomorphic.servlet.HttpProxyServlet] HttpProxy - Fatal transport error: Remote host close connection during
handshake
On Tomcat/REST server
ssl logging enabled and it says "SSLHandshakeException: null cert chain"
Any ideas?
Brower: Firefox
Tomcat: v7
SmartGWT: v11.0p_2016-05-12/PowerEdition Deployment 2016-05-12
Code Snippet
DataSource ds = new DataSource();
ds.setDataFormat(DSDataFormat.XML);
ds.setDataURL("https://mysite.com/employee.xml?employeeId=123");
ds.fetchData();
SmartGWT log snippets
2016-06-03 13:13:51,100 INFO [com.isomorphic.servlet.HttpProxyServlet] HttpProxy - No rules defined - proxying all incoming URLs.
...
2016-06-03 13:13:52,100 INFO [com.isomorphic.servlet.HttpProxyServlet] HttpProxy - ProxyData is: { xsi:"blahschema",
url:"https://mysite.com/employee.xml?employeeId=123", httpMethod:"GET", params:{}, contentType:null, requestBody:null, username:null,
password:null, httpHeaders:null, uploadFileName:null,callbackParam:null}
2016-06-03 13:13:53,100 INFO [com.isomorphic.servlet.HttpProxyServlet] HttpProxy - Fatal transport error: Remote host close connection during
handshake
On Tomcat/REST server
ssl logging enabled and it says "SSLHandshakeException: null cert chain"
Comment