调用DescribeSslVpnClientCertAttributes查询指定SSL客户端证书信息。
名称 | 类型 | 是否必选 | 示例值 | 描述 |
---|---|---|---|---|
Action | String | 是 | DescribeSslVpnClientCertAttributes | 要执行的操作,取值:DescribeSslVpnClientCertAttributes。 |
Version | String | 是 | 2020-04-01 | API版本信息。 |
SslVpnClientCertId | String | 是 | vsc-zm55pqtvk17oq32zd**** | 待查询SSL客户端证书的ID。您可调用 DescribeSslVpnClientCerts查询SSL客户端的证书的ID信息。 |
名称 | 类型 | 示例值 | 描述 |
---|---|---|---|
RequestId | String | 请求ID。 | |
SslVpnClientCertId | String | vsc-zm55pqtvk17oq32zd**** | SSL客户端证书的ID。 |
SslVpnClientCertName | String | example_ssl_client_cert | SSL客户端证书的名称。 |
Description | String | example_ssl_vpn_client_cert_description | SSL客户端证书的描述信息。 |
SslVpnServerId | String | vss-zm55pqtvk17oq32zd**** | SSL服务端的ID。 |
Status | String | Available | SSL客户端状态。
|
CertificateStatus | String | Available | SSL客户端证书状态。
|
CaCertificate | String | -----BEGIN CERTIFICATE-----\nMIIDPTCCAiWgAwIBAgIFAPYCuPgwDQYJKoZIhvcNAQELBQAwTjEQMA4GA1UEBhMH\0kiLwglC1aYQsdjTGuqM/wT+N9nHI5Eu99NvKhu4\n0Gq/oDuxom+*************=\n-----END CERTIFICATE-----\n | CA证书信息。 |
ClientCertificate | String | -----BEGIN CERTIFICATE-----\nMIIDXDCCAkSgAwIBAgIEGn5UZjANBgkqhkiG9w0BAQsFADBOMRAwDgYDVQQGEwdC\nZIEwdCZWlqaW5nMQswCQYDVQQHEwJDTjEbMBkGA1UEAxqg58tSQENg3*************\n-----END CERTIFICATE-----\n | 客户端证书信息。 |
ClientKey | String | -----BEGIN RSA PRIVATE KEY-----\nMIIEogIBAAKCAQEAvxLr+6AovkwVm9ZKR7Y7Twq5QxfMmWK8GhYithfDYmg9\n+Urzj7R83zpbOmyJA25x9l2FiIvdS*************=\n-----END RSA PRIVATE KEY-----\n | 客户端密钥信息。 |
OpenVpnClientConfig | String | client\n# use comp-lzo in openvpn 2.3 or previous versions\n;compress lzo\nexplicit-exit-no******\n | OpenVPN客户端的配置。 |
CreationTime | String | 2023-04-18T15:02:37+08:00 | SSL客户端证书的创建时间。 |
ExpiredTime | String | 2023-04-18T15:02:37+08:00 | SSL客户端证书的到期时间。 |
UpdateTime | String | 2023-05-28T18:09:12+08:00 | SSL客户端证书的修改时间。 |
GET /?Action=DescribeSslVpnClientCertAttributes&Version=2020-04-01&SslVpnClientCertId=vsc-12ads0g2fsmps17q7y2w8**** HTTP/1.1 Host: open.volcengineapi.com ServiceName: vpn Region: cn-beijing
{ "ResponseMetadata": { "RequestId": "202307272000497643F762AB49C889****", "Action": "DescribeSslVpnClientCertAttributes", "Version": "2020-04-01", "Service": "vpn", "Region": "cn-beijing" }, "Result": { "RequestId": "202307272000497643F762AB49C889****", "SslVpnClientCertId": "vsc-12ads0g2fsmps17q7y2w8****", "SslVpnClientCertName": "test-cicd", "Description": "abc", "SslVpnServerId": "vss-imwoo6i1dfk08gbssxfj****", "Status": "Available", "CertificateStatus": "Available", "CreationTime": "2023-07-27T19:55:08+08:00", "ExpiredTime": "2026-07-27T19:55:08+08:00", "UpdateTime": "2023-07-27T19:57:56+08:00", "CaCertificate": "-----BEGIN CERTIFICATE-----\nMIIDXDCCAkSgAwIBAgIEGn5UZjANBgkqhkiG9w0BAQsFADBOMRAwDgYDVQQGEwdC\nZWlqaW5nMRAwDgYDVQQIEwdCZWlqaW5nMQswCQYDVQQHEwJDTjEbMBkGA1UEAxMS\fPNA1qH8gV/j37PnqxEVk2cOpgm2i1gs1c\nnQ222H5r51M9UpvrDi0/9EHeoUeZCwUnHJgn68ZtpJ5pr1Jws2Dv4AKTDxKgUQ6Y\n+6nSFhv51LoibWq4CzJNGQH3BzpO2svgG5H+LWHZ9pEiV3jyzZtc+ecZyzFm1X/2\nzOg/cauPxDlECkLv8Rt901t9ttisVtN4oIG6g8rU4VFqg58tSQENg3y**********\n-----END CERTIFICATE-----\n", "ClientCertificate": "-----BEGIN CERTIFICATE-----\nMIIDPTCCAiWgAwIBAgIFAPYCuPgwDQYJKoZIhvcNAQELBQAwTjEQMA4GA1UEBhMH\neZznSRLhkl40QOdOCnFELCjUTouSR1a25TtO1oPgWDNW5wughIO6sEUeQieWcgmB\nu3TOv+YZ4yQlqjJQ+HAYFN5bYkXNMv2cdCg1OqXWo23LAOJFCjxPbzfD5kI4vDC3\naVzrI89PIk0KozvCa9ZtvuHAXAopvK5sRHEiEw9rgL4WQS17EWnsKMSsB2ejF+rk\nY7qmXZ1jAO7VXxnRcttYzkQiMw0XKXNZChYj9uPT8oPzWM1necjcrzvi64lOtY1P\njZGYDO/1NN9iVp0kiLwglC1aYQs/U7HJZNBJWdjTGuqM/wT+N9nHI5Eu99NvKhu4\n0Gq/oDuxo*******=\n-----END CERTIFICATE-----\n", "ClientKey": "-----BEGIN RSA PRIVATE KEY-----\nMIIEogIBAAKCAQEAvxLr+6AovkwVm9ZKR7Y7Twq5eZznSRLhkl40QOdOCnFELCjU\no4jOeTD2JVtoftM9znbFrJy2/IaCMD7dfgMQRwIDAQABAoIBAAMfXQnkqSXK+oNs\n/vZnMzwxEL841Jk54CLDfwLjZMJQEM1PB1dMWqL38dg8QxfMmWK8GhYithfDYmg9\n+Urzj7R83zpbOmyJA25x9l2FiIvdSoq5RE3Txlxv******=\n-----END RSA PRIVATE KEY-----\n", "OpenVpnClientConfig": "client\n# use comp-lzo in openvpn 2.3 or previous versions\n;compress lzo\nexplicit-exit-no******\n" } }
此处仅展示当前API的错误码,更多错误码请参见公共错误码。
HttpCode | 错误码 | 错误信息 | 描述 |
---|---|---|---|
404 | InvalidSslVpnClientCert.NotFound | The specified SSL client certificate does not exist. | 指定的SSL客户端证书不存在。 |