Gregg's MOTD

Tips & Tricks that I've Encountered Over the Years...

Finding the SSL Directory on a Server

August 21, 2023 — Gregg Szumowski

I’ve had situations where I was configuring a secure connection to an application and needed to know where the SSL certificates are stored on the server. You can easily find out this information using the openssl and grep commands:

$ openssl version -a | grep OPENSSLDIR
OPENSSLDIR: "/etc/pki/tls"

Tags: cli, ssl, openssl, motd