(ITS#6742) Patch - Mozilla NSS - centralize and improve certificate verification