Configure and copy Scanafi command line¶
Scanafi is a command-line based utility. Options that dictate the operating mode, network segments where certificate discovery is performed, and scan parameters are specified in a configuration JSON file when the program is called from the command line. The configuration JSON file parameters are the same regardless of the version (Windows, Linux, MacOS) being run.
If you are using our Venafi as a Service product, you don't need to build a configuration file. Just download the file provided.
To configure the Scanafi Command Line¶
In the menu bar, click Discovery > Internal Discovery tab.
Enter a list of internal IP addresses and ranges.
(Recommended) Associate your TLS certificates with the application and organizational unit they are supporting.
To find the org unit and application
- In the menu bar, click Organization > Org Units.
- Find the org unit you want, then click x Applications.
- Open the application, then click the Internal Discovery* tab.
- Enter a list of internal IP addresses and ranges.
Click Copy Scanafi Command Line.
Command line code is generated for your specific environment: Linux, Windows or Mac OS.
Copy the Scanafi command line and then run it.
We recommend running Scanafi as a service using a Cron job for Linux or MacOS and Windows Scheduled Task for Windows. At a minimum, run a scan every 7 days or more frequently if desired. Using sophisticated reconciliation processes and to eliminate duplicates, VaaS will reconcile multiple discoveries of the same certificate instances so that you don’t have to.
Next step: Perform Discovery