anchor/doc/source/api.rst
Stanisław Pitucha 7623347163 Return CA for a given instance
Return the signing CA certificate.

Closes bug: 1409037
Change-Id: I57ec9b657dd2bedf4b13a45703f7fd0c6d1d4a0b
2015-09-05 14:06:42 +10:00

1.2 KiB

API version 1

The following endpoints are available in version 1 of the API.

/robots.txt (GET)

Prevents attempts to index the service.

/v1/sign/<registration_authority> (POST)

Requests signing of the CSR provided in the POST parameters. The request is processed by the selected virtual registration authority.

Request parameters

  • user: username used in authentication (optional)
  • secret: secret used in authentication
  • encoding: request encoding - currently supported: "pem"
  • csr: the text of the submitted CSR

Result

Signed certificate

/v1/ca/<registration_authority> (GET)

Requests the CA which would be used to sign the request made to this registration authority.

Do NOT use this to retrieve the certificate needed to trust communication with Anchor. Connection to Anchor MUST be fully trusted before using this endpoint for further configuration.

Request parameters

  • encoding: request encoding - currently supported: "pem"

Result

CA certificate used to sign for this RA.