How To Use API¶
After run an API server, please access here. To know purpose and usage of each API function, see following.
-
GET/get/{fqdn}¶ API that gets server cetrificate.
server certificate of the domain which specified in fqdn.
Parameters: - fqdn (string) – FQDN of certificate to get
Status Codes: - 200 OK – exit correctly
- 501 Not Implemented – error occured when calling certbot
-
POST/renew¶ renew server certificate
API that renew certificate which is about to expire. This should be called regularly by clock daemon.
Status Codes: - 200 OK – ok
- 501 Not Implemented – error occured when calling certbot