Add support for CA key and certificate generation

This commit is contained in:
David Stotijn
2020-09-28 20:37:25 +02:00
parent 81ae8f55da
commit 8b04747855
6 changed files with 100 additions and 29 deletions

View File

@ -1,12 +1,8 @@
@cert = $HOME/.ssh/hetty_cert.pem
@key = $HOME/.ssh/hetty_key.pem
@db = hetty.bolt
@addr = :8080
**/*.go {
daemon +sigterm: go run ./cmd/hetty \
-cert=@cert \
-key=@key \
-db=@db \
-addr=@addr
}