Tuesday, May 12, 2020

Unix/AIX box - Certificate expiration date check


Run the following openssl command 

echo | openssl s_client -servername NAME -connect HOST:443 2>/dev/null | openssl x509 -noout –dates

Example: If you have a server name ="test.server.com" and port="443"

echo | openssl s_client -servername test.server.com -connect test.server.com:443 2>/dev/null | openssl x509 -noout -dates


No comments:

Post a Comment

Featured Post

OIC File Handling – Removing .pgp and Preserving .csv (Dynamic File Name Logic) | use of ast-index-within-string() function

๐Ÿ“Œ Problem Statement In Oracle Integration Cloud (OIC), while working with Stage File, we often receive source files like: a.b.c.csv.pgp ๐Ÿ” ...