更新时间:2022-08-05 GMT+08:00
下载SSLsocket证书和私钥
功能介绍
当源端服务器为Windows操作系统时,安装在源端服务器上的迁移Agent通过SSLSocket同目的端服务器通信,该接口用于下载目的端服务器所需要的证书和私钥(PEM格式)。
迁移Agent自动调用此接口用于下载SSLsocket证书和私钥,您无需调用此接口。
请求消息
无
示例
- 响应示例
{ "cert":" -----BEGIN CERTIFICATE----- MIICrjCCAhegAwIBAgIBADANBgkqhkiG9w0BAQUFADCBnDELMAkGA1UEBhMCQ04x EjAQBgNVBAgMCUd1YW5nRG9uZzERMA8GA1UEBwwIU2hlbnpoZW4xDTALBgNVBAoM BE1hYVMxFDASBgNVBAsMC0Nsb3VkYmlsaXR5MSIwIAYDVQQDDBlBdGxhcyBQZXJz b25hbCBMaWNlbnNlIENBMR0wGwYJKoZIhvcNAQkBFg5jd2pjc3VAMTI2LmNvbTAe Fw0xODAzMTYwMTQzMDFaFw0xOTAzMTYwMTQzMDFaMIGcMQswCQYDVQQGEwJDTjES MBAGA1UECAwJR3VhbmdEb25nMREwDwYDVQQHDAhTaGVuemhlbjENMAsGA1UECgwE TWFhUzEUMBIGA1UECwwLQ2xvdWRiaWxpdHkxIjAgBgNVBAMMGUF0bGFzIFBlcnNv bmFsIExpY2Vuc2UgQ0ExHTAbBgkqhkiG9w0BCQEWDmN3amNzdUAxMjYuY29tMIGf MA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDGA3ahP8o4h9B6BLlfOVECpbeHbB4+ H8dNB+NtAopv9NKg2fz9KPTxJKw037L/dCNE/DCFFlu9dczxXmJRFIRRz677LcBj T+05VEjil86qeucnWGVZJjTqG11f5eTUGzUlV12cT425Q/y/BdWAniW70XfjOeeS hOW6CZefJ9Q0FwIDAQABMA0GCSqGSIb3DQEBBQUAA4GBAH16ASRuNjbJ5eIBPAig 9vmQ3iPgUYJFCMPoJeZWecrqj+pGhVJDsviLimNmEnCkEJpRf0sFvPG64R/BISsB v/PXvfDLwfTcx1q2j9Y4i3sPe2JfwPKcQLKPdZIyakk9tYsRztFPoxlK0F7YQKd+ rvbHNGLkWxDArm44wURYFA1t -----END CERTIFICATE-----", "private_key":"-----BEGIN RSA PRIVATE KEY----- MIICXAIBAAKBgQDGA3ahP8o4h9B6BLlfOVECpbeHbB4+H8dNB+NtAopv9NKg2fz9 KPTxJKw037L/dCNE/DCFFlu9dczxXmJRFIRRz677LcBjT+05VEjil86qeucnWGVZ JjTqG11f5eTUGzUlV12cT425Q/y/BdWAniW70XfjOeeShOW6CZefJ9Q0FwIDAQAB AoGAG753fC9iZ5pL8RTBXmC7A4pxlRVmhWDRfW8KBAeTmw0sB+KTKmt3KmRvhncD bvx4Rp2pNLSFxR2Ayh7l2qNryIWcuxTrlDowGrUg+QzwMfJixczAEU7IHCRC2k3t 7yf0EILYoM+A+SgvDO8YWhaJ6SYe0zAHFZbabNsSbWzbb8kCQQDlggnh5CN/nDHb URZ1FoUrQ8pzk3rc6krWe4WWPx9YJ33zgCOut1w2y2eJ0SN1m+yxAAZ22fnY47kj HrS8TjvZAkEA3N7DnLggtQcOC6Ye2v5SGLzv0O6Gw5Xl3NLWiiGK8kY/3Q1Aa5gh /8qBnqKLfxpe+3IKfN+wrXUG5PV+XdapbwJAbKbdatWIgLc/WybOTOw2az8SrxiY x9EbUOL1YSXM/vzjQc3eFq6ztzUgdTxPXzRMH5d1d/rFr4pPcXLt+V/IMQJBAJQB AnumNuSX0aWkr9B303OYR+ttqwitDdcnwXPWflFTGcB6/MwcqcvKW4l9ypRli3hb NwPusWnKndAXYZJoIikCQGe7Nb+e59Ksm5+BoSXp/07FriqvwPrDkr+e1Xpfmoai s4U4T0RA/NkYRTX/jN/HtpXkjR/dEf7RAAmNO3WtKm4= -----END RSA PRIVATE KEY-----" }
状态码
状态码请参见状态码。
错误码
请参见历史错误码。
父主题: 证书管理