dadi / ssl

Autonomous SSL certificate generation in support of SSL-first approach.
1 stars 3 forks source link

Certificate event order #2

Closed mingard closed 7 years ago

mingard commented 7 years ago

If possible, handle changing key and certificate values after app has started.

Start app using ssl default cert values. getKey and getCertificate will return default values.

key: ssl.getKey(config.get('ssl.dir')),
certificate: ssl.getCertificate(config.get('ssl.dir'))

Once the certificates have been created, change the value