tech5usa / TLSential

A server for providing short-lived TLS certificates to all services within a firewall restricted network.
GNU General Public License v3.0
15 stars 2 forks source link

Basic DNS configuration and Certificate creation #9

Closed d1str0 closed 4 years ago

d1str0 commented 4 years ago

Get current DNS (cloudflare) config: GET /api/challenge

Set DNS config PUT /api/challenge JSON: {"AuthEmail":"", "AuthKey":""}

Create new Certificate: POST /api/certificate JSON: {"domains":[]} // Array of strings of domains Returns a most cert info + created ID

Get Existing Certificate: GET /api/certificate/{id} // ID is id of cert returned on creation Returns cert info for specified cert

Get ALL Certs GET /api/certificate Returns a list of all certs on server

SET/GET for challenge and certificate require Super Admin at this point.