readlink -f /etc/letsencrypt/live/example.com/cert.pem

Category: Web Servers & Proxies

readlink -f /etc/letsencrypt/live/example.com/cert.pem

Show the real file behind a letsencrypt live symlink

The live directory holds symlinks pointing into /etc/letsencrypt/archive, where each renewal creates a new numbered file. Resolving the link shows which archive version a service currently uses. Useful to confirm that a renewal actually switched the files.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.