Skip to content

Latest commit

 

History

History
26 lines (15 loc) · 746 Bytes

README.md

File metadata and controls

26 lines (15 loc) · 746 Bytes

Consul TLS manager v0.2.0

Simple NodeJS script to store TLS certificates and keys to a Consul KV and restore to disk if modified since last check

Build Status

$ node index.js operation consulUrl FQDN crtPath keyPath

Examples

Note: the Consul URL must be valid and working

Save (test files)

node index.js 'set' 'http://localhost:8500' 'homolog.zimp.me' './test/cert/localhost.crt' './test/cert/localhost.key'

Restore (test files)

node index.js 'get' 'http://localhost:8500' 'homolog.zimp.me' './test/cert/localhost.crt' './test/cert/localhost.key'

License

See MIT.