Compare commits

...

2 Commits

Author SHA1 Message Date
Louis Lam 27bcc968ec
Update server/util-server.js
2 weeks ago
Louis Lam c0db036187
Update server/model/monitor.js
2 weeks ago

@ -1621,7 +1621,7 @@ class Monitor extends BeanModel {
/**
* Store TLS certificate information and check for expiry
* @param {Object} tlsInfo Information about the TLS connection
* @param {object} tlsInfo Information about the TLS connection
* @returns {Promise<void>}
*/
async handleTlsInfo(tlsInfo) {

@ -654,7 +654,7 @@ const parseCertificateInfo = function (info) {
/**
* Check if certificate is valid
* @param {tls.TLSSocket} socket TLSSocket, which may or may not be connected
* @returns {Object} Object containing certificate information
* @returns {object} Object containing certificate information
*/
exports.checkCertificate = function (socket) {
let certInfoStartTime = dayjs().valueOf();

Loading…
Cancel
Save