Get Certificate Chain
GET /vdc/keystore
Get the certificate chain being used by ECS
Required Roles
This call has no restrictions.
Response Body
CertifcateChain
Field |
Description |
Type |
Notes |
certificate_chain |
|
|
|
chain |
Keystore certificate chain in PEM format |
String |
|
Examples
Request
GET https://192.168.0.0:4443/vdc/keystore HTTP/1.1
Content-Type: application/xml
X-SDS-AUTH-TOKEN: <AUTH_TOKEN>
Response
HTTP/1.1 200 OK
Content-Type: application/xml
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<certificate_chain>
<chain>-----BEGIN CERTIFICATE-----
MIIDCDCCAfCgAwIBAgIIaCzqIzDNC3kwDQYJKoZIhvcNAQELBQAwFDESMBAGA1UE
AxMJbG9jYWxob3N0MB4XDTE5MDMyNTAxNDAzMFoXDTI5MDMyMjAxNDAzMFowFDES
MBAGA1UEAxMJbG9jYWxob3N0MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKC
AQEAp74Da3cVtnkMW+ADIF01K/bLvOY6oMn5mhQiiQ0as+U4WBRRmpKtR9XuIssF
jQsq64iVfZOWslvNsL0XhVpN7khAuSOD+G0lk32RxuccU9dw8bJ7wTG7jhhqZWSC
6epqAD76+MhCmddrrCIRTbfyLX6Oh4L9fWvMHAb9fRdWsV7W9N6sOXbrU2tKo2kQ
F8WIfl0qkn7HJ40/IHI5UzdoBCEFE5fviouqunLYguND1vVMb66CkVn5JX//QII2
b+mxeb1+FGdZ8/ogj6P94yA3tF+BqbfbJiBoaNQKu2WzCcCeCesGGqqM5U3zy/vZ
nvSfQcTBipzd3Yx7t5kol5/WKwIDAQABo14wXDAfBgNVHSMEGDAWgBTX59pviRxo
nxfwIH8CJxEhn5cpwTAaBgNVHREEEzARgglsb2NhbGhvc3SHBH8AAAEwHQYDVR0O
BBYEFNfn2m+JHGifF/AgfwInESGflynBMA0GCSqGSIb3DQEBCwUAA4IBAQBnQd4m
EDhGq2nIADXLtlEfqvQsEuFLwMoRddG1tz0HD+CNGrC3nGzL9RV5ktTXHNHsh957
kdPVJUfpQAH11zj5u/OWJMDBebQ3lCrHxdMmvoRaEgB0T7N1R36JNNx4Yi6KEUeD
UuRNNj1JEkgpsn1xGssqDF1decx/wF54gx4jyuWinT9M3setSKed95tdESEN5a0Q
AkqAXaU19YZxkpsuKdJT8ua+pwdh2lEVh4y0OL9jQubgJIx9EhOp9Qh1hKEGBx2h
AgEwcNasNpI95Vr54yWdaek9hAGA6BmjNlLtuVoE+YeDtP+x0XcrF7uED1lKLwta
rbgUKjNw0/vsDfVc
-----END CERTIFICATE-----
</chain>
</certificate_chain>
Request
GET https://192.168.0.0:4443/vdc/keystore HTTP/1.1
Content-Type: application/json
X-SDS-AUTH-TOKEN: <AUTH_TOKEN>
Response
HTTP/1.1 200 OK
Content-Type: application/json
{
"certificate_chain": {
"chain": "-----BEGIN CERTIFICATE-----\n MIIDCDCCAfCgAwIBAgIIaCzqIzDNC3kwDQYJKoZIhvcNAQELBQAwFDESMBAGA1UE
\n AxMJbG9jYWxob3N0MB4XDTE5MDMyNTAxNDAzMFoXDTI5MDMyMjAxNDAzMFowFDES
\n MBAGA1UEAxMJbG9jYWxob3N0MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKC
\n AQEAp74Da3cVtnkMW+ADIF01K/bLvOY6oMn5mhQiiQ0as+U4WBRRmpKtR9XuIssF
\n jQsq64iVfZOWslvNsL0XhVpN7khAuSOD+G0lk32RxuccU9dw8bJ7wTG7jhhqZWSC
\n 6epqAD76+MhCmddrrCIRTbfyLX6Oh4L9fWvMHAb9fRdWsV7W9N6sOXbrU2tKo2kQ
\n F8WIfl0qkn7HJ40/IHI5UzdoBCEFE5fviouqunLYguND1vVMb66CkVn5JX//QII2
\n b+mxeb1+FGdZ8/ogj6P94yA3tF+BqbfbJiBoaNQKu2WzCcCeCesGGqqM5U3zy/vZ
\n nvSfQcTBipzd3Yx7t5kol5/WKwIDAQABo14wXDAfBgNVHSMEGDAWgBTX59pviRxo
\n nxfwIH8CJxEhn5cpwTAaBgNVHREEEzARgglsb2NhbGhvc3SHBH8AAAEwHQYDVR0O
\n BBYEFNfn2m+JHGifF/AgfwInESGflynBMA0GCSqGSIb3DQEBCwUAA4IBAQBnQd4m
\n EDhGq2nIADXLtlEfqvQsEuFLwMoRddG1tz0HD+CNGrC3nGzL9RV5ktTXHNHsh957
\n kdPVJUfpQAH11zj5u/OWJMDBebQ3lCrHxdMmvoRaEgB0T7N1R36JNNx4Yi6KEUeD
\n UuRNNj1JEkgpsn1xGssqDF1decx/wF54gx4jyuWinT9M3setSKed95tdESEN5a0Q
\n AkqAXaU19YZxkpsuKdJT8ua+pwdh2lEVh4y0OL9jQubgJIx9EhOp9Qh1hKEGBx2h
\n AgEwcNasNpI95Vr54yWdaek9hAGA6BmjNlLtuVoE+YeDtP+x0XcrF7uED1lKLwta
\n rbgUKjNw0/vsDfVc
\n -----END CERTIFICATE-----"
}
}
Request
curl -H $token -H "Content-Type: application/xml" -X GET https://$nodeIp:4443/vdc/keystore
Response
HTTP/1.1 200 OK
Content-Type: application/xml
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<certificate_chain>
<chain>-----BEGIN CERTIFICATE-----
MIIDCDCCAfCgAwIBAgIIaCzqIzDNC3kwDQYJKoZIhvcNAQELBQAwFDESMBAGA1UE
AxMJbG9jYWxob3N0MB4XDTE5MDMyNTAxNDAzMFoXDTI5MDMyMjAxNDAzMFowFDES
MBAGA1UEAxMJbG9jYWxob3N0MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKC
AQEAp74Da3cVtnkMW+ADIF01K/bLvOY6oMn5mhQiiQ0as+U4WBRRmpKtR9XuIssF
jQsq64iVfZOWslvNsL0XhVpN7khAuSOD+G0lk32RxuccU9dw8bJ7wTG7jhhqZWSC
6epqAD76+MhCmddrrCIRTbfyLX6Oh4L9fWvMHAb9fRdWsV7W9N6sOXbrU2tKo2kQ
F8WIfl0qkn7HJ40/IHI5UzdoBCEFE5fviouqunLYguND1vVMb66CkV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