2e70ecd8ce
Document certificates and OS-SIMPLE-CERT routes. Change-Id: I528c3eb27a5226a4da17a3c3aa2ca3ccc65a5a39 Closes-Bug: #1626779
42 lines
799 B
ReStructuredText
42 lines
799 B
ReStructuredText
.. -*- rst -*-
|
|
|
|
============
|
|
Certificates
|
|
============
|
|
|
|
Allows the retrieval of information for Certificate Authorities and certificates.
|
|
|
|
Show CA Certificate (v2)
|
|
========================
|
|
|
|
.. rest_method:: GET /v2.0/certificates/ca
|
|
|
|
Show the available CA certificate.
|
|
|
|
Normal response codes: 200
|
|
|
|
Error response codes: 401, 500
|
|
|
|
Response Example
|
|
----------------
|
|
|
|
.. literalinclude:: ./samples/admin/show-ca-certificate-v2-response.txt
|
|
:language: text
|
|
|
|
Show Signing Certificate (v2)
|
|
=============================
|
|
|
|
.. rest_method:: GET /v2.0/certificates/signing
|
|
|
|
Show the available signing certificate.
|
|
|
|
Normal response codes: 200
|
|
|
|
Error response codes: 401, 500
|
|
|
|
Response Example
|
|
----------------
|
|
|
|
.. literalinclude:: ./samples/admin/show-signing-certificate-v2-response.txt
|
|
:language: text
|