Question: INTRODUCTION TO LINUX/ UNIX introductory level course so try not to use something extremely advanced, if possible. Thanks 1. The openssl command is an excellent
1. The openssl command is an excellent command-line diagnostic tool for SSL connections and certificates. The sample command string: echo I openssl s_client -connect www.google.com:443 will display the SSL certificate information for the specified host. The host www.google.com is being tested in this example. If we direct the output of the previous command string as input to: openssl x509 -noout -dates we can see the dates the SSL certificate is valid for. The administrator of the CNY Hackathon proxmox server (vce.cnyhackathon.org) wou'd like to devise a command string which will parse the certificate check output for the server and display only the expiration date of the certificate. This output can then be added to infrastructure monitoring to properly report how long the certificate is valid. Your final output should contain only the date, similar to the following sample: Oct 22 01:30:06 2018 GMT Your solution must also be durable; it must properly function regardless of the date value in the output or the order of the output lines Note: The Hackathon proxmox server is listening for SSL connections on port 8006. That port should be used instead of 443
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
