| Qingbo Jin 2006-01-05, 7:23 am |
| We have a problem switching our current data syncronization
from http unsecured syncronization to secured https
syncronization . Currently We are using http protocol sync
to redirector then, the redirector will get data from the
mobilink server. Now we bought a certificate from "Thawte
SGC CA" for our gateway server .
So we want to switch our ultralite sync parameter from http
connection to https connection.
The ultralite mobilink database syncronization sequence will
be following:
Palm Os(Hotsync stream type) ---> gateway computer --->
redirector(sync server) --> mobilink(sync server)
Pocketpc (http stream type) ---> gateway computer --->
redirector(sync server) --> mobilink(sync server)
win32 (http stream type) ---> gateway computer --->
redirector(sync server) --> mobilink(sync server)
and we want to change to :
Palm Os(Hotsync stream type) using https 443---> gateway
computer ---> redirector(sync server) --> mobilink(sync
server)
Pocketpc (https stream type) using https 443---> gateway
computer ---> redirector(sync server) --> mobilink(sync
server)
win32 (https stream type) using https 443---> gateway
computer ---> redirector(sync server) --> mobilink(sync
server)
So I did some changes to the ultralite parameters. I changed
the stream type from http to https and changed the port
number from 80 to 443. But seems it is not working at all.
My palm return the error message : "Upload was not received
by the MobiLink server. 01/03/2006 06:01:24 PM Unable to
write to the 'certicom_ssl' network connection. Handshake
error."
some environment information:
----------------
Consolidated DB and platform ( Microsoft SQL Server 2000)
win2003 SP1
Mobilink Synchronization Server : 9.0.2 (3228) on win2000
win2003 SP1
Redirector and Web sever details and platform ( ISAPI
Redirector IIS web server) win2003 SP1 - same machine as
Mobilink server
Mobilink client - Ultralite version and platform (UL 9.0.2
(3228) Palm OS 5.x)
Your development environment : we use javascript as our
develop environment
sync method you are using : palm craddle hotsync, win32
Mbusiness client sync , pocket pc active sync
----------------
Here is some more information from our system admin:
-------------------
We have an apache server running mod_ssl on our fron end
which then proxies
http and https data to an IIS 5.0 web service running the
Mobilink
Redirector on a Windows 2000 server. The redirector then
redirects to
various Mobilink services running off of various pre-set
ports from port
60000 and up based upon the redirector configuration file
that we reference
in the URL request. The certificate that we are attempting
to use is an SGC
SuperCert from Thawte. Our previous successful attempt
using the https
stream was with a self-signed certificate that was generated
using OpenSSL.
-------------------
The following is my code, the streamParms_palm or
streamParms_win32 is the string setting used as connection
string for ultralite database 's syncronization:
--------using http connection -----------------
var ml_sync_stream = "http";
var ml_server_host = "syncserver1.trialstat.com";
var ml_server_port = "80";
var url_suffix = "redirect/projectname/iaredirect.dll/ML/";
var streamParms_win32 = "host=" + ml_server_host + ";" +
"port=" + ml_server_port + ";" + "url_suffix=" + url_suffix
;
var streamParms_pocketpc
= streamParms_win32;
var streamParms_palm = "stream=" + ml_sync_stream + ";" +
"host=" + ml_server_host + ";" + "port=" + ml_server_port +
";" + "url_suffix=" + url_suffix ;
--------end of using http connection -----------------
--------using https connection -----------------
var ml_sync_stream = "https";
var ml_server_host = "syncserver1.trialstat.com";
var ml_server_port = "443";
var url_suffix = "redirect/projectname/iaredirect.dll/ML/";
var streamParms_win32 = "host=" + ml_server_host + ";" +
"port=" + ml_server_port + ";" + "url_suffix=" + url_suffix
;
var streamParms_pocketpc
= streamParms_win32;
var streamParms_palm = "stream=" + ml_sync_stream + ";" +
"host=" + ml_server_host + ";" + "port=" + ml_server_port +
";" + "url_suffix=" + url_suffix ;
--------end of using https connection -----------------
Thank you very much for all the help....
Qingbo Jin
|