How-To (Scanafi): Discover certificates using FQDN for SNI endpoints

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


  1. Create your config file (see example below).
    1. {
          "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
                  }
              ]
          }
      }
  2. Grant your user access to the "scanafi" API integration in your TPF instance.
  3. Run the scanafi tool from command prompt with the desired parameters.
    1. "C:\Users\shako1admin2\Desktop\SCANAFI\scanafi_win_x64.exe" --config "C:\Users\shako1admin2\Desktop\SCANAFI\config_fqdn.json" --Verbose
  4. Check the results in report.json file.
  5. Process complete.


Actions
  • Print
  • Copy Link

    https://knowledgebase.paloaltonetworks.com/KCSArticleDetail?id=kA1hj0000001l4vCAA&lang=en_US&refURL=http%3A%2F%2Fknowledgebase.paloaltonetworks.com%2FKCSArticleDetail