How to check that an SSL certificate and its private key match

Introduction Though it is less common nowadays, SSL certificate provisioning can still be full of surprises when dealing with old school setups in client environments. Some colleagues did not know how to easily check if a certificate and private key match in a clean one liner, and their LLM research came up with &ldquo;interesting&rdquo; suggestions with at least 6 pipes and too many checksum…