This error message means that the IRC server you are connecting to is using an invalid SSL certificate. This is an issue with the IRC server and there is nothing you can do yourself to resolve this. The owner/administrator of the IRC server would need to fix this. Your only option at this point is to check the "automatically accept this certificate in future" option and click OK. However, by doing this, you will be accepting that the SSL connection may not be secure or authentic.