This usually means that the trusted authorities file you have specified in the mIRC Options/Connect/Options/SSL dialog is not valid. You would need to set this to the cacert.pem file that comes with mIRC. If you cannot find the cacert.pem file, you should re-install mIRC using the official mIRC installer from the mIRC website.