detect ssl certificate and redirect user to install it