GaussDB-手动替换证书步骤

GaussDB-手动替换证书步骤

创建自认证证书

自认证证书生成请联系管理员处理。

对私钥密码的保护,使用cm encrypt工具,请参考cm_ctl工具介绍

cm_ctl encrypt [-M <MODE>] -D <DATA_DIR>
 
  1. 生成服务器端密钥因子server.key.cipher、server.key.rand。

     

    cm_ctl encrypt -M server -D <DATA_DIR>
    please enter the password:(使用密码需要与服务器私钥的保护密码相同)
     

     

  2. 生成客户端密钥因子client.key.cipher、client.key.rand。

     

    cm_ctl encrypt -M client -D <DATA_DIR>
    please enter the password:(使用密码需要与客户端私钥的保护密码相同)
     

     

 
posted @ 2024-10-29 15:47  jerrywang1983  阅读(3)  评论(0)    收藏  举报