f192933 autodiscover: Create CA cert autodiscovery server
~muirrum pushed to ~muirrum/hamlog git
This is designed to be an API for logging and storing amateur radio contact logs. This project is composed of libhamlog
and hamlogd
. libhamlog
is a library containing common data structures that can be used by clients to communicate with the API. hamlogd
is the API server that stores log data for later retrieval.
Also, if you can come up with a better name, please tell me because I can't think of one.
hamlogd
uses TLS client certificate authentication. If you want to get up and running as quickly as possible, run make ca
followed by make ssl
. This will generate a certificate authority, and then sign a server certificate that can be used to access the API via SSL.
To get a user certificate, make a POST request to /cert/request
with the following fields as form data
Field | Value |
---|---|
csr | generated CSR |
callsign | Your callsign |
You will receive a JSON object containing a signed certificate that can be used to authenticate requests to the API. All requests to any endpoint that isn't /cert/request
must include this certificate.