Create a Post
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Explorer

Multi-Factor Authentication with SMS

I have done a test by Postman with the below code,it was succed.But I do not know how to transfer these codes to checkpoint gateway.I did follow the mobile access adminguide(https://api.example.com/http/sendmsg?api_id=$APIID&user=$USERNAME&password=$PASSWORD&to=$PHONE&text=... ),but SMS provider do not have username and password.

"curl -X POST \http://10.2.14.30:8080/MicroMsgHub/http/sendMsg

<DATA>
<COUNT>1</COUNT>
<TYPE>1</TYPE>
<SOURCE>20</SOURCE>
<ITEM>
<ID>aabbccddeeffggexf</ID>
<TO>15652702591</TO>
<TEMPLATE>SM200001</TEMPLATE>
<SHOULDSENDDATE>01</SHOULDSENDDATE>
<PARAMS>
<MSGCONTENT>188427</MSGCONTENT>
</PARAMS>
</ITEM>
</DATA>

"

Has anyone ever encountered such a situation before?

postman.png

 

0 Kudos
2 Replies
Highlighted
Explorer

I captured traffic,and I found the method of checkpoint gateway use is "get".Is it right?

get.png

The response of SMS provider show failed.

0 Kudos
Highlighted
Admin
Admin

You may need to edit $CPVPNDIR/bin/sendsms in order to send the request in the correct format for your provider.
See: https://community.checkpoint.com/t5/Remote-Access-Solutions/CPVPNDIR-bin-sendsms-no-longer-used-in-R...
0 Kudos