How-To (Scanafi): Discover certificates using FQDN for SNI endpoints
143
Created On 11/12/26 15:36 PM - Last Modified 11/12/26 16:28 PM
Objective
This article covers the JSON configuration necessary for FQDN scans, enabling the capture of certificates on web servers using Server Name Indication (SNI).
Environment
TPP/TLSPDC TLSPDC
Procedure
- Create your config file (see example below).
-
{ "zone":"Policy\\Certificates\\tester", "log_level":"debug", "id":"scanafi", "provider":{ "type":"tpp", "config":{ "url":"https://192.168.164.130", "username":"<username>", "password":"<password>" }, "inputs":[ { "type":"FQDN", "hosts": [ "tester.tppshako.com" ], "ports":[ "443" ] } ], "outputs":[ { "type":"file", "path":"C:\\Users\\shako1admin2\\Desktop\\SCANAFI\\report.json", "ports":true } ] } }
-
- Grant your user access to the "scanafi" API integration in your TPF instance.
- Run the scanafi tool from command prompt with the desired parameters.
-
"C:\Users\shako1admin2\Desktop\SCANAFI\scanafi_win_x64.exe" --config "C:\Users\shako1admin2\Desktop\SCANAFI\config_fqdn.json" --Verbose
-
- Check the results in report.json file.
- Process complete.