This is the retired Shane Killen personal blog, an IT technical blog about configs and topics related to the Network and Security Engineer working with Cisco, Brocade, Check Point, and Palo Alto and Sonicwall. I hope this blog serves you well. -- May The Lord bless you and keep you. May He shine His face upon you, and bring you peace.
Check Point: How To Edit The SSLVPN DynamicID Login Page - "An SMS with a verification code was sent to your phone"
I was working with my customer in trying to get Check Point's DynamicID working, which we did do successfully. However, one of the web pages that comes up after you put in your login credentials said something that we didn't really like, for our scenario. We wanted to only send an email to the user trying to login. We did not want to send an SMS text message. But the page that comes up after you login says the following:
"An SMS with a verification code was sent to your phone and should arrive shortly. Please type the verification code sent to your phone:"
Well, that message gives me the impression that a 'text' message is going to be sent, which we are not doing in this case. Again, we only wanted to send an email.
So after a lot of digging and finding no solution for this, I had to hit the Check Point forums and post this to see if anyone knew how to edit that page. I have to admit, I searched for a while with no resolution. So I did post into the Check Point forum and a guy named Yehezkel H. replied to my question with the correct answer. Here is what he said to me:
"You need to edit relevant strings in $CVPNDIR/phpincs/Strings.en_US.php (for English).
Start with E_PROMPT_SENT_SMS_PRE_PHONE and E_PROMPT_SENT_SMS_POST_PHONE."
So, I SSH'ed into the Check Point box and did what he said. I went to the following location and used VI editor and edited the following: cd $CVPNDIR/phpincs/ vi Strings.en_US.php
"E_PROMPT_SENT_SMS_PRE_PHONE" => "An SMS with a verification code was sent to your phone",
"E_PROMPT_SENT_SMS_POST_PHONE" => "and should arrive shortly.\n\nPlease type the verification code sent to your phone:",
Now, after editing this, it says the following:
"E_PROMPT_SENT_SMS_PRE_PHONE" => "An email with a verification code was sent to your email account",
"E_PROMPT_SENT_SMS_POST_PHONE" => "and should arrive shortly.\n\nPlease type the verification code provided in the email sent to you:",