Remove spammy ssl renewal process and replace with the system checker and run it every 6 hours
This commit is contained in:
@@ -152,11 +152,6 @@ const internalHost = {
|
||||
// SSL was turned off or hostname for ssl has changed so we should remove certs for the original
|
||||
return internalSsl.deleteCerts(data.original)
|
||||
.then(() => {
|
||||
db.hosts.update({_id: data.updated._id}, {ssl_expires: 0}, {
|
||||
multi: false,
|
||||
upsert: false
|
||||
});
|
||||
data.updated.ssl_expires = 0;
|
||||
return data;
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user