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

Routes refactor #27

Closed d1str0 closed 4 years ago

d1str0 commented 4 years ago

Depends on PR #26

DO NOT MERGE BEFORE REBASE

small change to refactor routes so that routing is more composable. Rather than returning a full mux, apiHandler (and uiHandler in the future) return routers for their specific paths (/api vs /ui).

todo[bot] commented 4 years ago

Syslog formatted log/audit files.

https://github.com/ImageWare/TLSential/blob/9920915f93c4294ded74ebf22f915b02d7cc9d70/api/api.go#L17-L21


This comment was generated by todo based on a TODO comment in 9920915f93c4294ded74ebf22f915b02d7cc9d70 in #27. cc @ImageWare.
todo[bot] commented 4 years ago

Have API calls trigger a channel so all renews/issues funnel to

https://github.com/ImageWare/TLSential/blob/9920915f93c4294ded74ebf22f915b02d7cc9d70/autorenew.go#L17-L22


This comment was generated by todo based on a TODO comment in 9920915f93c4294ded74ebf22f915b02d7cc9d70 in #27. cc @ImageWare.
todo[bot] commented 4 years ago

Test ACMERegistration values, like Status, ToS, etc.

https://github.com/ImageWare/TLSential/blob/9920915f93c4294ded74ebf22f915b02d7cc9d70/model/certificate_test.go#L112-L117


This comment was generated by todo based on a TODO comment in 9920915f93c4294ded74ebf22f915b02d7cc9d70 in #27. cc @ImageWare.