Skip to content

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

Notifications You must be signed in to change notification settings

alligo/consul-tls

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

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

Resources

Stars

Watchers

Forks

Packages

No packages published

Contributors 3

  •  
  •  
  •