Changed the exception thrown when disabling the certificate check

This reduces the technical debt.