Whenever you search in browser for a particular website, it checks whether the certificate is not expired, or has been issued by a trusted authority, and search is being performed for the correct website. If any of these checks fails, your web browser will display a warning where user can understand that the site is not secured by SSL.