关于Sybase SQL Anywhere 10 MobiLink安全通道
cid 2008-11-08 11:10:20 好久不上MSDN了,呵呵;
最近由于客户方面要求,需要对MobiLink的数据通道进行数据加密,我采用的是MobiLink提供的RSA加密方式,具体启动参数如下:
MobiLink Server:
mlsrv10 -c %CONNECTION% %VERBOSITY% -ot %LOG_FILE% -x https(port=9999;certificate=c:\rsaserver.crt;certificate_password=test)
MobiLink Client:
dbmlsync -c %CONNECTION% -n %PUBLICATION% %VERBOSITY% -ot %LOG_FILE% %PARAMS% -e "sv=AsaPocketPC;ctp=https;adr='port=9999;trusted_certificates=c:\rsaroot.crt;certificate_name=RSA Server'"
上述配置参数已经可以进行加密数据通信,但使用的证书是Sybase iAnnwhere自带的Sample中的证书;想用自制证书做安全加密,可是在启动MobiLink Server服务的时候一直提示读取密钥发生错误;我使用的证书生成工具是Sybase自带的Createcert.exe(%Program Files%\SQL Anywhere 10\win32\);