Identify and Collect TLS Certificate Information form hosts to files

This macos bash script prompts for a comma delimited list of hostnames directly in terminal window, it is used to Identify and Collect TLS Certificate Information form hosts to files if there is more than one and processes the following command(s) to derive show certs information for each hostname and each of these ports.

lpadmin

Add a network printer with command line lpadmin -p Test_Printer_Name -L "Printer Location" -E -v lpd://10.1.20.26 -P "/System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks /PrintCore.framework/Versions/A/Resources/Generic.ppd" Remove Printer from command line /usr/sbin/lpadmin -x printernamehere