- CheckMates
- :
- Products
- :
- Quantum
- :
- Management
- :
- Re: [R80.10][API] Retrieve policy package from Che...
Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
Are you a member of CheckMates?
×
Sign in with your Check Point UserCenter/PartnerMap account to access more great content and get a chance to win some Apple AirPods! If you don't have an account, create one now for free!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Jump to solution
[R80.10][API] Retrieve policy package from Checkpoint API, fingerprint not approved error
Hello all,
I'm trying to retrieve a policy package with objects using Checkpoint API.
I would like to use the web_api_show_package script,"$MDS_FWDIR/scripts/web_api_show_package.sh"
I end up with an error, when I look in the generated file, I have the following lines indicating a fingerprint issue :
[Mon Aug 05 14:46:40 CEST 2019 com.checkpoint.mgmt_api.examples.MyLogger.debug()DEBUG]: The parameters that were received: showPackagesList:(-v)=true
[Mon Aug 05 14:46:40 CEST 2019 com.checkpoint.mgmt_api.examples.MyLogger.debug()DEBUG]: Limit number of object per page: 10
[Mon Aug 05 14:46:40 CEST 2019 com.checkpoint.mgmt_api.examples.MyLogger.debug()DEBUG]: Local Ips: [x.x.x.x, y.y.y.y, 127.0.0.1]
[Mon Aug 05 14:46:42 CEST 2019 com.checkpoint.mgmt_api.examples.MyLogger.severe()SEVERE]: Fingerprint was't approved. The fingerprint doesn't match to the fingerprints from the 'api fingerprint' command
[Mon Aug 05 14:46:42 CEST 2019 com.checkpoint.mgmt_api.examples.ShowPackageTool.logoutReportAndExit()INFO]: Script stopped running due to severe error!
[Mon Aug 05 14:46:42 CEST 2019 com.checkpoint.mgmt_api.examples.ShowPackageTool.logoutReportAndExit()INFO]: dirPath: /home/admin/291b8f93-bd5a-46a7-9aa1-15194f563da1
[Mon Aug 05 14:46:42 CEST 2019 com.checkpoint.mgmt_api.examples.ShowPackageTool.logoutReportAndExit()INFO]: tarGzPath: show_package-2019-08-05_02-46-40.tar.gz
[Mon Aug 05 14:46:40 CEST 2019 com.checkpoint.mgmt_api.examples.MyLogger.debug()DEBUG]: Limit number of object per page: 10
[Mon Aug 05 14:46:40 CEST 2019 com.checkpoint.mgmt_api.examples.MyLogger.debug()DEBUG]: Local Ips: [x.x.x.x, y.y.y.y, 127.0.0.1]
[Mon Aug 05 14:46:42 CEST 2019 com.checkpoint.mgmt_api.examples.MyLogger.severe()SEVERE]: Fingerprint was't approved. The fingerprint doesn't match to the fingerprints from the 'api fingerprint' command
[Mon Aug 05 14:46:42 CEST 2019 com.checkpoint.mgmt_api.examples.ShowPackageTool.logoutReportAndExit()INFO]: Script stopped running due to severe error!
[Mon Aug 05 14:46:42 CEST 2019 com.checkpoint.mgmt_api.examples.ShowPackageTool.logoutReportAndExit()INFO]: dirPath: /home/admin/291b8f93-bd5a-46a7-9aa1-15194f563da1
[Mon Aug 05 14:46:42 CEST 2019 com.checkpoint.mgmt_api.examples.ShowPackageTool.logoutReportAndExit()INFO]: tarGzPath: show_package-2019-08-05_02-46-40.tar.gz
I checked API and SMC fingerprint and they are different. Is it the reason why it's not working ?
Would you have an idea to manage through this error ?
Best Regards,
Sullivan Drouard
1 Solution
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Try running the script with the -b flag, which should cause it to ignore the fingerprint error.
2 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Try running the script with the -b flag, which should cause it to ignore the fingerprint error.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello PhoneBoy,
Thanks a lot for your help, it's working nicely.
Have a greay day !
![](/skins/images/84DAB6BD358ECB13CE1094473F6E2961/responsive_peak/images/icon_anonymous_message.png)