Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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
INTRODUCTION TO LINUX/ UNIX
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 introductory level course so try not to use something extremely advanced, if possible. Thanks
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started