Up
collapse
100%
WDescription%
Test Result: 0 tests failing out of a total of 3 tests.100
Build stability: No recent builds failed.100
Build History
x
 
 

Changes between #232 and #233

#233 (Feb 21, 2020 8:41:35 PM)

  1. Refactor the TokenGenerator constructor into calls to three methods: setPrivateKey(), setPublicKey(), and setConsumerKey().
    Also modify getSession() such that, if token verification fails, we reset these three keys, which will update the singleton
    fields with the keys from the newest on-disk certificate files (currently LetsEncrypt).  By doing this, we refresh the
    keys on failure, to be sure the problem isn't just a stale certificate issue.  This should enable us to renew the CN
    certificates without having to restart Metacat-based MNs every three-ish months. — cjones / detail