Here is only to handle the certificate error, so I think the fix is OK.