Communities

Writing
Writing
Codidact Meta
Codidact Meta
The Great Outdoors
The Great Outdoors
Photography & Video
Photography & Video
Scientific Speculation
Scientific Speculation
Cooking
Cooking
Electrical Engineering
Electrical Engineering
Judaism
Judaism
Languages & Linguistics
Languages & Linguistics
Software Development
Software Development
Mathematics
Mathematics
Christianity
Christianity
Code Golf
Code Golf
Music
Music
Physics
Physics
Linux Systems
Linux Systems
Power Users
Power Users
Tabletop RPGs
Tabletop RPGs
Community Proposals
Community Proposals
tag:snake search within a tag
answers:0 unanswered questions
user:xxxx search by author id
score:0.5 posts with 0.5+ score
"snake oil" exact phrase
votes:4 posts with 4+ votes
created:<1w created < 1 week ago
post_type:xxxx type of post
Search help
Notifications
Mark all as read See all your notifications »
Q&A

What are these weird hash symlinks to certificates in /etc/ssl/certs?

+1
−0

Trusted CA certificates are commonly stored in /etc/ssl/certs. Looking at the directory on my ubuntu server there's a bunch of certificate files and symlinks to certs in other directories as expected, but there are also these weird looking symlinks to the previously mentioned entities:

68dd7389.0 -> Hongkong_Post_Root_CA_3.pem

The link name looks like a hash of some kind, perhaps of the certificate file itself? As far as I can tell there's one for each "real" certificate in the directory.

What are these hashy certificate links? What creates them, and what are they used for?

History

1 comment thread

OpenSSL requries hashes (2 comments)

1 answer

+1
−0

They are created by openssl-rehash tool. Probably your distro runs this somewhere behind the scenes so you don't have to.

Quote from the docs above:

This command is useful as many programs that use OpenSSL require directories to be set up like this in order to find certificates.

History

0 comment threads

Sign up to answer this question »