Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.

SQL Anywhere 11.0.1 (中文) » MobiLink - 客户端管理 » MobiLink 客户端简介 » MobiLink 客户端网络协议选项

 

certificate_name

如果指定,仅当证书的 [公用名] 字段与此值相匹配时,应用程序才接受服务器证书。

需要单独授予许可的组成部分

ECC 加密和 FIPS 认证的加密需要单独的许可。所有高度加密技术受出口法规约束。

请参见单独授权的组件

语法
certificate_name=common-name
协议
缺省值

注释

有关如何设置 dbmlsync 网络协议选项的信息,请参见CommunicationAddress (adr) 扩展选项

有关如何设置 UltraLite 网络协议选项的信息,请参见UltraLite 同步流的网络协议选项

另请参见
示例

以下示例为某个 HTTPS 协议设置了 RSA 加密。这需要在服务器和客户端上进行设置。每个命令都必须在一行中写入。

在服务器上,实现如下:

mlsrv11 
   -c "dsn=SQL Anywhere 11 Demo;uid=DBA;pwd=sql" 
   -x https(
     port=9999;
     identity=c:\sa10\bin32\rsaserver.id;
     identity_password=test)

在 SQL Anywhere 客户端上,实现如下:

dbmlsync 
   -c "dsn=mydb;uid=DBA;pwd=sql" 
   -e "ctp=https;
       adr='port=9999;
         trusted_certificates=c:\sa10\bin32\rsaroot.crt;
         certificate_name=RSA Server'"

在 UltraLite 客户端上,实现如下:

    info.stream = "https";
    info.stream_parms = TEXT(
      "port=9999;
       trusted_certificates=\sa10\bin32\rsaroot.crt;
       certificate_name=RSA Server");