Marketplace
InfaUtils

InfaUtils

Posted by: Informatica Success Portal

Infautils is a platform-independent handy utility that is a collection of tools used in analyzing Informatica processes and log files. 
Tools are grouped as "commands" making it easy for users to run. 
The help text groups these "commands" into logical sections indicating the capability.

Overview

Infautils is a platform-independent handy utility that is a collection of tools used in analyzing Informatica processes and log files. 
Tools are grouped as "commands" making it easy for users to run. 
The help text groups these "commands" into logical sections indicating the capability.

Features

See README.txt for the full detail.

 

FEATURES:

=================

 

- Troubleshooting utilities for Informatica environments.

- Specialized parsing for diverse log types.

- System process utilities, specifically for Informatica products.

- Additional utilities for SSL and network

 

VERSION

=================

 

v1.1.e (build 2025.11.21)

 

PRE-REQUISITES

=================

 

- Tool is a runnable jar file that needs minimum JDK version of 21

 

 

EXECUTION

=================

 

On Linux

JAVA_HOME/bin/java -jar infautils-ext.jar <options>

 

On Windows

JAVA_HOME\bin\java.exe -jar infautils-ext.jar <options>

 

 

EXAMPLE

=================

 

Validating Java version as 21+

 

      C:\temp\i>java -version

      openjdk version "21.0.4" 2024-07-16 LTS

      OpenJDK Runtime Environment Zulu21.36+18-SA (build 21.0.4+7-LTS)

      OpenJDK 64-Bit Server VM Zulu21.36+18-SA (build 21.0.4+7-LTS, mixed mode, sharing)

 

 

To get the help text:

 

**************************************************************************************************************

      C:\temp\i>java -jar infautils-ext.jar

 

      infautils - a collection of useful utils

      v1.1.e (build 2025.11.21)

 

      Usage: infautils [command or alias [arguments...]]

 

                          [command]    [alias]

                  cloudprocstatus        cps   List IICS secure agent processes

                    dislogsparser        dis   Parses mapping, profiling, workflow and EDD log messages from DIS logs

                          findclass         fc   Recursively search for a java class inside a folder

                     hawklogparse       hawk   Parse a HAWK log to extract {"message" json log messages

                   httpfileserver        hfs   A simple http file server

         infadomainprocstatus        ips   List Informatica domain processes

                     tomcatparser     tomcat   Parse DI tomcat log and extract DTM load and summary

 

 

      For all commands, run "infautils help"

**************************************************************************************************************

 

 

 

To get the full help text:

 

 

**************************************************************************************************************

      C:\temp\i>java -jar infautils-ext.jar help

 

      infautils - a collection of useful utils

      v1.1.e (build 2025.11.21)

 

      Usage: infautils [command or alias [arguments...]]

 

        communication commands

 

                               [name]  [alias]   [help]

                           freeport            Lists a free port on the system starting from 8080

                   httpfileserver   hfs      A simple http file server

 

 

        data parsing/file manipulation commands

 

                               [name]  [alias]   [help]

                           checksum  cksum     Prints the crc32, md5, sha1 and sha256 values for a file or files

                    dislogsparser   dis      Parses mapping, profiling, workflow and EDD log messages from DIS logs

                     hawklogparse  hawk      Parse a HAWK log to extract {"message" json log messages

                     millistodate   m2d      Converts millis to zoned date

                    netstatparser  nstat     Parse netstat output's TCP connections and provide a summary

                     tomcatparser  tomcat    Parse and extract DTM load and execution summary from a Secure Agent DIS tomcat log

 

 

        misc commands

 

                               [name]  [alias]   [help]

                                alias            Lists all command aliases

                          findclass    fc      Recursively search for a java class inside a folder

                                     ip            List all active IPs used by this machine

 

 

        process commands

 

                               [name]  [alias]   [help]

                  cloudprocstatus   cps      List IICS secure agent processes

         infadomainprocstatus   ips      List Informatica domain processes

                           proctree  ptree     Prints the process tree of supplied PID

 

 

        ssl commands

 

                               [name]  [alias]   [help]

                         addtostore            Adds certs from an SSLServer or file to a JKS/JCEKS/PKCS12/PEM truststore

                   liststorecerts            Lists certs from a JKS/JCEKS/PKCS12/PEM truststore

                         printcerts            Prints certs of the supplied server or file

 

 

        system commands

 

                               [name]  [alias]   [help]

                                debug     d      Turn on debug logging on the fly

                                 help     h      Prints this help text, or help text for a valid command/alias

                              version     v      Print version

 

 

      Debug logging options:

        run infautils with the debug flag: Eg: infautils debug <command> <command args>

        or, set env DEBUG=true

 

      Run "infautils help -v" for detailed help on all commands

**************************************************************************************************************

 

 

NOTE: Some commands have "alias" strings that allows for easy command input and execution.

For example, instead of running

      java -jar infautils-ext.jar infadomainprocstatus

 

you can run with its alias "ips" for the same output

      java -jar infautils-ext.jar ips

 

 

 

 

 

UTILITIES aka COMMANDS

=========================

 

Infautils is divided into the following categories:

 

- communication commands

- data parsing/file manipulation commands

- process commands

- ssl commands

- misc commands

 

Below are some of the commands along with their sample executions.

 

 

=============================================

Process commands:

=============================================

 

 

cloudprocstatus: The `cloudprocstatus` command is designed to list processes associated with Informatica Secure Agents. By providing details about these processes, the command enables users to monitor agent activity and troubleshoot issues related to cloud-based operations efficiently. This functionality ensures better visibility and control over Secure Agent processes.

 

Example Usage:

 

      java -jar infautils-ext.jar cloudprocstatus

      cloudprocstatus [ infautils v1.1.e (build 2025.11.21) ]

 

                              USER      PID     PPID  PROCESS [TYPE]

                              root  2173218  2173212   [ agentcore ] [ Java: /stark/cdgc/dm2_me/jdk/bin/java ] [ java ]

                              root  2173398  2173395  Administrator [ ver: 1.0.1.1 ] [ java ]

                              root  2173651  2173650  Common_Integration_Components [ ver: 24.0.2.1 ] [ java ]

                              root  2173720        1  Connector_Service [ ver: 17.0.2.1 ] [ java ]

                              root  2174104  2174097  Data_Integration_Server [ ver: 73.0.2.1 ] [ java ]

                              root  2173587  2173586  MassIngestionRuntime [ ver: 26.2.1 ] [ java ]

                              root  2173664        1  Metadata_Foundation_Agent [ ver: 2.0.2.1 ] [ java ]

                              root  2173774        1  Metadata_Platform_Service [ ver: 3.0.2.1 ] [ java ]

 

 

 

----------------------------------

 

infadomainprocstatus: The `infadomainprocstatus` command is designed to display all active processes related to the Informatica domain running on a server machine. By providing detailed insights into these processes, the command facilitates efficient monitoring, analysis, and troubleshooting of domain services, ensuring optimal operation and quick resolution of issues within the server environment.

 

Example:

      java -jar infautils-ext.jar infadomainprocstatus

      infadomainprocstatus [ infautils v1.1.e (build 2025.11.21) ]

 

 

                              USER      PID     PPID  PROCESS [TYPE]

                              root  3561619        1  NodeProcess [ -DINFA_HOME=/home/informatica/10521 ]

                              root  3562027  3561619   └── _AdminConsole [ AdministratorConsole ]

                              root  3562114  3561619   └── MRS_Illinois_EDC [ ModelRepositoryService ]

                              root  3562337  3562114      └── MRSCacheProcess

                              root  3562385  3561619   └── ICS_Illinois [ InfaHadoopService ]

                              root  3592513  3561619   └── Mon_MRS_Illinois [ ModelRepositoryService ]

                              root  3592675  3592513      └── MRSCacheProcess

                              root  3592731  3561619   └── EDC_Illinois [ CatalogService ]

                             

 

 

 

 

 

=============================================

Data parsing/File manipulation commands:

=============================================

 

cksum: The 'cksum' command computes and displays the CRC32, MD5, SHA1, and SHA256 hash values for one or more specified files. These cryptographic hash functions generate unique fixed-size outputs based on the input content, enabling users to verify file integrity, detect data corruption, and facilitate secure comparisons across files.

 

Example:

 

      C:\temp\i>java -jar infautils-ext.jar cksum infautils-ext.jar

      cksum [ infautils v1.1.e (build 2025.11.21) ]

 

      C:\temp\i\infautils-ext.jar

 

        CRC32 : 4213773280

            MD5 : d41d8cd98f00b204e9800998ecf8427e

        SHA-1 : da39a3ee5e6b4b0d3255bfef95601890afd80709

      SHA-256 : e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855

 

----------------------------------

 

dislogsparser: The `dislogsparser` command is designed to extract and convert information from Informatica Data Integration Service (DIS) service logs into a structured CSV format.

It parses the various states associated with mapping, workflow, and profile requests logged in the log.

This functionality allows users to analyze transitions and behaviors of workflows, mappings, and profiles efficiently by providing the data in an organized, tabular format, simplifying troubleshooting and reporting processes.

 

 

Example:

 

      java -jar infautils-ext.jar dislogsparser -profile dis_DIS_Illinois_EDC_n_dck_Chicago.log.0

      dislogsparser [ infautils v1.1.e (build 2025.11.21) ]

 

      [2025-11-21 22:22:07.529 EDT]  INFO: Parsing DIS log : /home/informatica/10521/logs/n_dck_Chicago/services/DataIntegrationService/disLogs/dis_DIS_Illinois_EDC_n_dck_Chicago.log.0

      [2025-11-21 22:22:07.894 EDT]  INFO: [2459/299496] lines parsed

      "PROFILE NAME","PROFILE UID","PROFILE EDDID",SUBMITTED,RUNNING,END,"ELAPSED(sec)",STATUS

      Profile_edw_pay_plan_detail_2,"U:WjxDMf1-Ee-bE5Kw74NqMA","U:WiR1aP1-Ee-bE5Kw74NqMA",,"2025-03-10 03:07:43.380","2025-03-10 03:07:50.047",6.0,FAILURE

      Profile_edw_pay_plan_detail_1,"U:WkA60_1-Ee-bE5Kw74NqMA","U:WiR1aP1-Ee-bE5Kw74NqMA",,"2025-03-10 03:07:43.361","2025-03-10 03:07:50.028",6.0,FAILURE

 

Example: Mapping option:

 

      java -jar infautils-ext.jar dislogsparser -mapping dis_DIS_Illinois_Profiling_n_dck_Chicago.log.0

      dislogsparser [ infautils v1.1.e (build 2025.11.21) ]

 

      [2025-11-21 22:33:26.820 EDT] ERROR: File : /root/infautils/-mapping does not exist.

      [2025-11-21 22:33:26.821 EDT]  INFO: Parsing DIS log : /home/informatica/10521/logs/n_dck_Chicago/services/DataIntegrationService/disLogs/dis_DIS_Illinois_Profiling_n_dck_Chicago.log.0

      [2025-11-21 22:33:27.292 EDT]  INFO: [220/521002] lines parsed

      REQUESTID," RECEIVED "," QUEUED "," DEQUEUED "," RUNNING "," END "," ELAPSED(sec) "," STATUS "

      HBzxRfpJEe-GdjAQnYsVXA,,"2025-03-06 00:08:58.363",,"2025-03-06 00:08:58.364","2025-03-06 00:08:58.517",0.0,COMPLETED

      E5ahofpJEe-GdjAQnYsVXA,,"2025-03-06 00:08:44.032",,"2025-03-06 00:08:44.032","2025-03-06 00:08:44.253",0.0,COMPLETED

      HmJ0wvpJEe-GdjAQnYsVXA,"2025-03-06 00:09:02.126",,,,,,RECEIVED

      GszKAfpJEe-GdjAQnYsVXA,"2025-03-06 00:08:56.109",,,,,,RECEIVED

      IwwmqfpJEe-GdjAQnYsVXA,"2025-03-06 00:09:09.949",,,,,,RECEIVED

 

 

----------------------------------

 

netstatparser: The `netstatparser` command processes and analyzes the output of the `netstat` command, specifically focusing on TCP connections. It extracts relevant details, aggregates the connection data, and generates a summarized report. This feature simplifies the analysis of network activity, assisting in quick identification of active connections, troubleshooting, and monitoring network connections.

 

Example:  Using the "-self" flag, we are analyzing netstat command on the local machine

 

      java -jar infautils-ext.jar netstatparser -self

      netstatparser [ infautils v1.1.e (build 2025.11.21) ]

 

      [2025-11-21 23:07:19.586 EDT]  INFO: Running netstat command: [netstat, -peano]

      [2025-11-21 23:07:19.590 EDT]  INFO: Netstat command outputfile: /root/infautils/infautilstmp_6072880789079929339/tmp15439838313461976067.tmp

      Summary for [file: /root/infautils/infautilstmp_6072880789079929339/tmp15439838313461976067.tmp] [OS: *nix]

 

       PID                          3561619/java

       Num connections              171

       Grouped by 'Foreign Address' [10.65.168.33:6006 count(31), 10.65.168.33:6023 count(8), 10.65.43.238:1521 count(5), 0.0.0.0:* count(3), 10.65.168.33:6020 count(2), 10.65.168.33:37796 count(1), 10.65.168.33:56350 count(1), 10.65.168.33:58374 count(1), 10.65.168.33:54052 count(1), 10.65.168.33:52828 count(1), 10.65.168.33:60732 count(1), 10.65.168.33:59180 count(1), 10.65.168.33:60610 count(1), 10.65.168.33:52832 count(1), 10.65.168.33:52950 count(1), 10.65.168.33:52714 count(1), 10.65.168.33:54738 count(1), 10.65.168.33:52836 count(1), 10.65.168.33:54210 count(1), 10.65.168.33:54452 count(1), 10.65.168.33:52790 count(1), 10.65.168.33:59106 count(1), 10.65.168.33:54054 count(1), 10.65.168.33:54456 count(1), 10.65.168.33:52792 count(1), 10.65.168.33:58378 count(1), 10.65.168.33:58780 count(1), 10.65.168.33:57294 count(1), 10.65.168.33:58386 count(1), 10.65.168.33:59078 count(1), 10.65.168.33:54062 count(1), 10.65.168.33:52722 count(1), 10.65.168.33:60618 count(1), 10.65.168.33:55678 count(1), 10.65.168.33:54226 count(1), 10.65.168.33:52846 count(1), 10.65.168.33:57614 count(1), 10.65.168.33:60736 count(1), 10.65.168.33:56368 count(1), 10.65.168.33:54462 count(1), 10.65.168.33:54066 count(1), 10.65.168.33:57216 count(1), 10.65.168.33:57178 count(1), 10.65.168.33:55676 count(1), 10.65.168.33:58420 count(1), 10.65.168.33:59236 count(1), 10.65.168.33:58422 count(1), 10.65.168.33:58394 count(1), 10.65.168.33:57186 count(1), 10.65.168.33:54074 count(1), 10.65.168.33:54194 count(1), 10.65.168.33:52848 count(1), 10.65.168.33:52728 count(1), 10.65.168.33:52854 count(1), 10.65.168.33:52690 count(1), 10.65.168.33:52696 count(1), 10.65.168.33:55962 count(1), 10.65.168.33:55686 count(1), 10.65.168.33:57224 count(1), 10.65.168.33:56384 count(1), 10.65.168.33:59130 count(1), 10.65.168.33:54082 count(1), 10.65.168.33:41982 count(1), 10.65.168.33:54404 count(1), 10.65.168.33:54766 count(1), 10.65.168.33:52742 count(1), 10.65.168.33:60518 count(1), 10.65.168.33:52868 count(1), 10.65.168.33:54408 count(1), 10.65.1...

       Grouped by 'STATE'           [ESTABLISHED:168, LISTEN:3]

 

       PID                          3592731/java

       Num connections              81

       Grouped by 'Foreign Address' [10.65.168.33:6006 count(34), 10.65.168.33:27017 count(28), 10.65.43.238:1521 count(8), 10.65.168.33:2181 count(5), 10.65.168.33:6020 count(4), 0.0.0.0:* count(2)]

       Grouped by 'STATE'           [ESTABLISHED:79, LISTEN:2]

 

 

----------------------------------------

 

 

tomcatparser: The `tomcatparser` command is designed to process DIS Tomcat logs and extract information related to Data Transformation Manager (DTM) load and summary details. By analyzing these logs, the command provides insights into DTM load statistics and overall activity summaries, facilitating efficient monitoring and troubleshooting of Data Integration workflows. This feature simplifies log parsing by presenting organized and actionable data.

 

Example:

 

      [root@iris-cdgc infautils]# java -jar infautils-ext.jar tomcatparser /stark/cdgc/agent_Jarvis/apps/Data_Integration_Server/logs/tomcat/tomcat_73.0.9.1.log -v -summary -table

      tomcatparser [ infautils v1.1.e (build 2025.11.21) ]

 

      [2025-11-21 13:02:08.541 IST]  INFO: Log : /stark/cdgc/agent_Jarvis/apps/Data_Integration_Server/logs/tomcat/tomcat_73.0.9.1.log

      [2025-11-21 13:02:08.541 IST]  INFO: Total DTM jobs extracted: 27

      [2025-11-21 13:02:08.541 IST]  INFO: WfName/SessionName - to - DTM Count

      [2025-11-21 13:02:08.541 IST]  INFO: Default start time: 2023-01-01 00:00:01,001

      [2025-11-21 13:02:08.541 IST]  INFO: [Optimization] Resetting start time to first entry in the log: 2025-04-18 15:02:20,385

      [2025-11-21 13:02:08.541 IST]  INFO: Listing only summary of completed jobs in ASC order of START time

      Start Time             |Session Name                                                 |Total time in millis|Total time in minutes

      -----------------------+-------------------------------------------------------------+--------------------+---------------------

      2025-04-18 15:16:19,780|s_cp_97061158_422f_4b60_98b1_4830b0ede7b6_CUSTOMERS_vw_1     |27034               |0

      2025-04-18 19:37:00,906|s_cp_09faba95_e872_481e_ae42_ea1568c57a55_PO_ABSTRACTPAYLOA_1|3017                |0

      2025-04-18 19:37:28,597|s_rp_7cf7bf14_0032_411d_9879_192d9662f8ad_CUSTOMERS_1        |4002                |0

      2025-04-18 19:40:01,963|s_rp_4810be8f_80a6_4494_bea4_ad139ff0ef91_CandidateTaskDeta_1|3001                |0

      2025-04-18 20:07:52,178|s_cp_223e5c48_90de_4af6_b688_475cbdd22fa0_T175_1             |10004               |0

      2025-04-18 20:19:44,296|s_cp_223e5c48_90de_4af6_b688_475cbdd22fa0_T175_1             |10004               |0

      2025-04-18 20:42:46,460|s_cp_223e5c48_90de_4af6_b688_475cbdd22fa0_T175_1             |11003               |0

      2025-04-18 21:02:14,637|s_cp_223e5c48_90de_4af6_b688_475cbdd22fa0_T175_1             |11004               |0

      2025-04-19 19:37:08,441|s_rp_7cf7bf14_0032_411d_9879_192d9662f8ad_CUSTOMERS_1        |6002                |0

      2025-04-19 19:37:17,400|s_cp_09faba95_e872_481e_ae42_ea1568c57a55_PO_ABSTRACTPAYLOA_1|3001                |0

      2025-04-19 19:38:45,492|s_rp_4810be8f_80a6_4494_bea4_ad139ff0ef91_CandidateTaskDeta_1|3001                |0

      2025-04-19 19:42:01,636|s_rp_78e4297b_c8ff_4209_a044_ec3f09548a05_PER_ABSENCE_ATTEN_1|133035              |2

      2025-04-20 19:37:06,400|s_rp_7cf7bf14_0032_411d_9879_192d9662f8ad_CUSTOMERS_1        |4003                |0

      2025-04-20 19:48:44,253|s_rp_78e4297b_c8ff_4209_a044_ec3f09548a05_PER_ABSENCE_ATTEN_1|133031              |2

      2025-04-21 15:33:47,817|s_cp_223e5c48_90de_4af6_b688_475cbdd22fa0_T175_1             |12007               |0

      2025-04-21 16:01:41,994|s_mtt_0100H40Z0000000001W3                                   |44014               |0

      2025-04-21 16:03:37,407|s_mtt_0100H40Z0000000001W4                                   |267397              |4

      2025-04-21 16:04:31,438|s_mtt_0100H40Z0000000001W5                                   |40014               |0

      2025-04-21 16:05:12,424|s_mtt_0100H40Z0000000001W6                                   |225061              |3

      2025-04-21 16:08:05,330|s_mtt_0100H40Z0000000001W7                                   |41012               |0

      2025-04-21 16:09:08,264|s_mtt_0100H40Z0000000001W6                                   |43249558            |720

      2025-04-21 16:42:42,053|s_cp_223e5c48_90de_4af6_b688_475cbdd22fa0_T175_1             |12004               |0

      2025-04-21 18:27:58,436|s_rp_05ad82b4_adb9_4d59_ae31_0eda3e76b44e_Asia_Employee_Inf_1|27014               |0

      2025-04-21 18:37:39,760|s_rp_d398293b_7abe_4ab4_a2fc_5b8f8a012a00_TAB2_1             |3002                |0

      2025-04-21 18:37:44,596|s_rp_fce2a0c8_f195_4127_8fc1_f1a86562ff03_PQI_INSPECTIES_1   |15008               |0

      2025-04-21 19:32:13,877|s_cp_223e5c48_90de_4af6_b688_475cbdd22fa0_T175_1             |11005               |0

      2025-04-21 19:37:31,950|s_rp_4810be8f_80a6_4494_bea4_ad139ff0ef91_CandidateTaskDeta_1|3002                |0

 

 

 

=============================================

Communication commands:

=============================================

 

freeport: The `freeport` command scans the system or server to identify the first unused port, starting its search from port number 8080. This helps ensure applications can bind to an available port without encountering conflicts, facilitating smooth network communication.

 

Example Usage:

 

      java -jar infautils-ext.jar freeport

      freeport [ infautils v1.1.e (build 2025.11.21) ]

 

      8080

 

 

----------------------------------

 

httpfileserver: The `httpfileserver` creates a process that runs as a lightweight HTTP file server. Its primary function is to serve files over HTTP, enabling easy access to directory contents via a web browser or HTTP client. This feature simplifies file sharing and retrieval in network environments.

 

Example Usage:

 

      java -jar infautils-ext.jar httpfileserver

      httpfileserver [ infautils v1.1.e (build 2025.11.21) ]

 

      [2025-11-21 22:09:28.096 EDT]  INFO: Usage: httpfileserver  [flags] [directory (default: pwd)] [port (default: 8080)] (Use -help for detailed help)

      [2025-11-21 22:09:28.099 EDT]  INFO: Picked directory: /root/infautils

      [2025-11-21 22:09:28.105 EDT]  INFO: Picked server port: 8080

      [2025-11-21 22:09:28.106 EDT]  INFO: HTTP File Server running at http://ink04779745:8080

      [2025-11-21 22:09:28.106 EDT]  INFO: Alternate addresses:

      [2025-11-21 22:09:28.106 EDT]  INFO:  * http://10.65.168.33:8080

      [2025-11-21 22:09:28.106 EDT]  INFO: Serving files from "/root/infautils"

 

 

 

=============================================

SSL commands:

=============================================

 

addtostore: The `addtostore` command is used to simplify the management of truststores. It adds certificates from an SSL server or a file to various types of truststores, including JKS (Java KeyStore), JCEKS (Java Cryptography Extension KeyStore), PKCS12, or PEM formats. This functionality ensures secure communication by enabling the inclusion of trusted certificates, which are vital for authentication and encryption in SSL/TLS-based systems.

 

Example Usage:

 

      [root@iris-cdgc infautils]# java -jar infautils-ext.jar addtostore -sslserver 10.75.152.201:636 -file ldap_certificate.cer -store /stark/cdgc/agent_Jarvis/apps/jdk/zulu8.82.0.22-sa-fx-jdk8.0.432/jre/lib/security/cacerts  -pass changeit -v

      addtostore [ infautils v1.1.e (build 2025.11.21) ]

 

      [2025-11-21 14:38:33.876 IST]  INFO: Opened keystore [ /stark/cdgc/agent_Jarvis/apps/jdk/zulu8.82.0.22-sa-fx-jdk8.0.432/jre/lib/security/cacerts ] , type [ JKS ] , number of entries [ 247 ]

      [2025-11-21 14:38:33.881 IST]  INFO: Adding SSL certificate: alias [ 10.75.152.201_2025-11-21 14:38:33.881 IST_1 ], Subject [ CN=AE-INFORMATICA.TestEnv.com ], Validity [ Mon Jun 30 10:28:11 IST 2025 ], Serial (hex) [6000000016c68f0490ac33b907000100000016]

      [2025-11-21 14:38:33.887 IST]  INFO: Successfully added [ 1 ] certs from SSLServer [host=10.75.152.201, port=636, protocol=TLSv1.2, certchain=1]

 

----------------------------------

 

liststorecerts: The `liststorecerts` command is designed to retrieve and display certificates stored in various truststore formats, including JKS (Java KeyStore), JCEKS (Java Cryptography Extension KeyStore), PKCS12, and PEM. By listing these certificates, the command provides users with a clear view of the truststore's contents, enabling efficient management, validation, and troubleshooting of SSL/TLS-based security configurations.

 

Example Usage:

 

      [root@iris-cdgc infautils]# java -jar infautils-ext.jar liststorecerts -store /stark/cdgc/agent_Jarvis/apps/jdk/zulu8.82.0.22-sa-fx-jdk8.0.432/jre/lib/security/cacerts -pass changeit

      liststorecerts [ infautils v1.1.e (build 2025.11.21) ]

 

      [2025-11-21 14:41:52.635 IST]  INFO: Opened keystore [ /stark/cdgc/agent_Jarvis/apps/jdk/zulu8.82.0.22-sa-fx-jdk8.0.432/jre/lib/security/cacerts ] , type [ JKS ] , number of entries [ 250 ]

      [2025-11-21 14:41:52.637 IST]  INFO: Entry alias [ securetrustca [jdk] ], Subject [ CN=SecureTrust CA, O=SecureTrust Corporation, C=US ], Validity [ Tue Jan 01 01:10:55 IST 2030 ], Serial (hex) [cf08e5c0816a5ad427ff0eb271859d0]

      [2025-11-21 14:41:52.637 IST]  INFO: Entry alias [ buypassclass3ca [jdk] ], Subject [ CN=Buypass Class 3 Root CA, O=Buypass AS-983163327, C=NO ], Validity [ Fri Oct 26 13:58:58 IST 2040 ], Serial (hex) [2]

      [2025-11-21 14:41:52.637 IST]  INFO: Entry alias [ cert_vtrus_ecc_root_ca ], Subject [ CN=vTrus ECC Root CA, O="iTrusChina Co.,Ltd.", C=CN ], Validity [ Fri Jul 31 12:56:44 IST 2043 ], Serial (hex) [6e6abc59aa53be983967a2d26ba43be66d1cd6da]

      [2025-11-21 14:41:52.637 IST]  INFO: Entry alias [ quovadisrootca1g3 [jdk] ], Subject [ CN=QuoVadis Root CA 1 G3, O=QuoVadis Limited, C=BM ], Validity [ Sun Jan 12 22:57:44 IST 2042 ], Serial (hex) [78585f2ead2c194be3370735341328b596d46593]

      [2025-11-21 14:41:52.637 IST]  INFO: Entry alias [ godaddyclass2ca [jdk] ], Subject [ OU=Go Daddy Class 2 Certification Authority, O="The Go Daddy Group, Inc.", C=US ], Validity [ Thu Jun 29 22:36:20 IST 2034 ], Serial (hex) [0]

      [2025-11-21 14:41:52.637 IST]  INFO: Entry alias [ cert_132_certainly_root_r1132 ], Subject [ CN=Certainly Root R1, O=Certainly, C=US ], Validity [ Sun Apr 01 05:30:00 IST 2046 ], Serial (hex) [8e0ff94b907168653354f4d44439b7e0]

 

----------------------------------

 

printcerts: The `printcerts` command retrieves and displays certificates from a specified server or file. It enables users to examine certificate details, facilitating efficient validation, troubleshooting, and management of SSL/TLS security settings. This functionality ensures that users can access and inspect critical certificate information from designated sources easily.

 

Example Usage:

 

      [root@iris-cdgc infautils]# java -jar infautils-ext.jar printcerts -sslserver 10.75.152.201:636

      printcerts [ infautils v1.1.e (build 2025.11.21) ]

 

      [2025-11-21 14:44:58.745 IST]  INFO: Connected to SSLServer [host=10.75.152.201, port=636, protocol=TLSv1.2, certchain=1]

 

      Certificate[0]

      Subject: CN=AE-INFORMATICA.TestEnv.com

      Issuer : CN=TestEnv-AE-INFORMATICA-CA, DC=TestEnv, DC=com

      -----BEGIN CERTIFICATE-----

      MIIGb...

      ...

     s8p7Dm9Ep4jl69H/w/tirXOtyRZGK4E8JIEp8sjNjS5W71iX6CB+9Wr9XSVqcepf

      /P/GI/9BjQPQ++GspYY51P/5JQ==

      -----END CERTIFICATE-----

 

----------------------------------

 

 

=============================================

Miscellaneous commands

=============================================

 

findclass: The `findclass` command is designed to perform a recursive search for a specific Java class within a folder. By scanning the directory hierarchy, it locates occurrences of the specified class, enabling developers to quickly find its implementation or usage. This functionality simplifies code navigation and improves efficiency when working with large projects or complex folder structures.

 

      C:\temp\i>java -jar infautils-ext.jar findclass java.lang.String -p C:\Work\SDK_64\latest_jdk21

      findclass [ infautils v1.1.e (build 2025.11.21) ]

 

                        path : C:\Work\SDK_64\latest_jdk21

      search classname : java/lang/String

 

      C:\Work\SDK_64\latest_jdk21\jmods\java.base.jmod

                  classes/java/lang/String$CaseInsensitiveComparator.class

 

      C:\Work\SDK_64\latest_jdk21\jmods\java.base.jmod

                  classes/java/lang/String.class

 

      ...

 

      C:\Work\SDK_64\latest_jdk21\lib\src.zip

                  java.base/java/lang/StringUTF16.java

 

      Total hits           : 27

      Total files scanned  : 92

      Total skipped        : 0

      Time taken           : PT0.3930215S

 

       Count  File/Path

        18     C:\Work\SDK_64\latest_jdk21\jmods\java.base.jmod

        9      C:\Work\SDK_64\latest_jdk21\lib\src.zip

 

 

----------------------------------

 

ip: The `ip` command is designed to retrieve and list all active IP addresses associated with the host machine where the utility is being executed.

 

      java -jar infautils-ext.jar ip

      ip [ infautils v1.1.e (build 2025.11.21) ]

 

      10.65.168.33

      127.0.0.1

**************************************************************************************************************

 

 

NOTE: Some commands have "alias" strings that allows for easy command input and execution.

For example, instead of running

               java -jar infautils-ext.jar infadomainprocstatus

 

you can run with its alias "ips" for the same output

               java -jar infautils-ext.jar ips