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

Certificate model refactor and tests #26

Closed d1str0 closed 4 years ago

d1str0 commented 4 years ago

Depends on PR #23

DO NOT MERGE UNTIL REBASE

Test by running 'go test' in model directory. Should pass. 'go test -v' will show all the tests and you should see 3 new ones for certificates.

todo[bot] commented 4 years ago

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

https://github.com/ImageWare/TLSential/blob/75ef51773698e4bfbeeafc863047bf5373c42d9b/autorenew.go#L17-L22


This comment was generated by todo based on a TODO comment in 75ef51773698e4bfbeeafc863047bf5373c42d9b in #26. cc @ImageWare.
todo[bot] commented 4 years ago

Test ACMERegistration values, like Status, ToS, etc.

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


This comment was generated by todo based on a TODO comment in 75ef51773698e4bfbeeafc863047bf5373c42d9b in #26. cc @ImageWare.
d1str0 commented 4 years ago

This has been rebased off of #23