master
handleCertificateError
export function handleCertificateError(event, webContents, url, error, certificate, callback) {