Onde os certificados digitais são fisicamente armazenados em uma máquina Mac OS X?

9

Alguém pode me dizer e talvez vincular a literatura que o descreve, onde está o local de armazenamento de certificados digitais no Mac OS X? Eu sei que eu poderia acessar os certificados com o aplicativo "Keychain". Mas onde estão os certificados armazenados no disco? No Linux, eles estão, por exemplo, abaixo de /etc/ssl/certs , mas no Mac OS X eles não são certificados nesta pasta.

Eu li algo sobre que os certificados são armazenados em um "arquivo de chaveiro"? Isso está certo? Se sim, alguém poderia me explicar os detalhes técnicos.

Se alguém tiver uma literatura detalhada sobre essas coisas, será útil vinculá-las aqui. obrigado!

    
por Opa114 26.10.2015 / 22:31

1 resposta

8

Onde estão os locais de armazenamento de certificados digitais no Mac OS X

Apple's Mac OS X includes a built-in key and password manager, Keychain, which stores user passwords, user and server certificates, and keys.

Fonte Certificado e gerenciamento de chaves no Mac OS X

Onde os dados do Keychain são armazenados?

The keychain data is stored in ~/Library/Keychains/, /Library/Keychains/, and /Network/Library/Keychains/.

The first location is where my personal keychain is stored. To access their data, I need the Keychain Utility located in the Utilities folder in the Applications folder.

I like using spotlight to access the Keychain Utility as it only takes a few keys to get there – click on the spotlight icon in the top right corner and type “keychain”. Spotlight is quick and will predict what you are looking for and get it on top of the search quickly, so you don’t even need to type the whole word. Once you open it, you have access to your Keychain.

Understanding Local Keychain Files

I will briefly explain the purpose of the most important files in these directories.

/Users//Library/Keychains/login.keychain – This keychain is created when your user account in Mac OS X is created and normally has its password synchronised with your login password. It is unlocked at login and locked a logout. This is where most of your passwords will end up in. Its password is changed when you change your login password or using the Keychain Access utility.

/Users//Library/Keychains/ – UUID stands for Unique User ID – This identifier does not match your OS UUID. It is created when the account is created. This is where your iCloud keychain is stored but if the service is not enabled, it will appear as “Local Items” and be renamed to “iCloud” when the service is enabled. The iCloud keychain service allows passwords and other types of data from it to be synchronised with your other Apple devices like you iPad, iPhone or another Mac. The only requirements are that all these devices are using the same Apple ID account, and the OS supports the iCloud keychain service (Mac OS X 10.9 and above, iOS 7.0.3 and above).

/Library/Keychains/System.keychain – The System keychain stores items that are accessed by the OS and shared between user to allow, for example, everyone on the Mac to be able to connect to a WiFi network. Only administrators can change its content.

/Library/Keychains/FileVaultMaster.keychain – This file is created by the system when FileVault encryption service is enabled on your Mac. The OS manages its content.

/System/Library/Keychains/ – This is another location that can store loads of keychain files. Its content is managed by the system and other application. Most of them will not appear in the Keychain Access utility however, all users benefit from it.

Fonte Entendendo o Mac OS X Keychain por Ivaylo Mihaylov

Leitura Adicional

por 26.10.2015 / 22:57