Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Networking & Security
  • Search

certificate identifiers

Having problems getting connected to the internet or running a server? Wondering about securing your box? Ask here.
Post Reply
Advanced search
2 posts • Page 1 of 1
Author
Message
curmudgeon
Veteran
Veteran
Posts: 1746
Joined: Fri Aug 08, 2003 1:39 pm

certificate identifiers

  • Quote

Post by curmudgeon » Sun Mar 31, 2024 2:54 am

I did search for this (obviously not well enough), as well as read a couple of Gentoo wiki articles.

With app-misc/ca-certificates, the certificates themselves get stored in /usr/share/ca-certificates/mozilla/, with /etc/ssl/certs/ having TWO links that (ultimately) point to each certificate. I obviously understand the link containing the name of the certificate itself, but where does the four-byte (eight hexadecimal digits) identifier come from? I can't find it inside of the certificate itself.

For example:

Code: Select all

$ ls -al /etc/ssl/certs/ | grep cacert
lrwxrwxrwx 1 root root     21 2024-03-15 11:31:55 590d426f.0 -> cacert.org_class3.pem
lrwxrwxrwx 1 root root     21 2024-03-15 11:31:55 99d0fa06.0 -> cacert.org_class1.pem
lrwxrwxrwx 1 root root     67 2024-03-15 11:31:53 cacert.org_class1.pem -> ../../../usr/share/ca-certificates/cacert.org/cacert.org_class1.crt
lrwxrwxrwx 1 root root     67 2024-03-15 11:31:53 cacert.org_class3.pem -> ../../../usr/share/ca-certificates/cacert.org/cacert.org_class3.crt
In this case, what creates the identifiers 590d426f and 99d0fa06?

Thank you in advance.
Top
hdcg
Tux's lil' helper
Tux's lil' helper
Posts: 122
Joined: Sun Apr 07, 2013 8:30 am

  • Quote

Post by hdcg » Sun Mar 31, 2024 4:01 am

Hi curmudgeon,

these are hash values of the linked certificates and are used for fast lookups.
They are created by the c_rehash script.

Best Regards,
Holger
Top
Post Reply

2 posts • Page 1 of 1

Return to “Networking & Security”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic