|
|
|
@ -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();
|
|
|
|
|