Forrest logo
back to context overview

security

List of commands for security:

  • security:tldr:5ba16 security: Set a certificate to use with a website or [s]ervice by its [c]ommon name (fails if several certificates with the same common name exist).
    $ security set-identity-preference -s ${select} -c "${common_name}" ${filename-keychain}
    try on your machine
    explain this command
  • security:tldr:5f570 security: Add a CA certificate to the per-user Trust Settings.
    $ security add-trusted-cert -k ${path-to-user-keychain-keychain-db} ${path-to-ca-cert_file-pem}
    try on your machine
    explain this command
  • security:tldr:76fa1 security: Create a keychain.
    $ security create-keychain -p ${password} ${filename-keychain}
    try on your machine
    explain this command
  • security:tldr:79eb7 security: Add a certificate from file to a [k]eychain (if -k isn't specified, the default keychain is used).
    $ security add-certificates -k ${file-keychain} ${path-to-cert_file-pem}
    try on your machine
    explain this command
  • security:tldr:7a2c5 security: List all available keychains.
    $ security list-keychains
    try on your machine
    explain this command
  • security:tldr:c788f security: Remove a CA certificate from the per-user Trust Settings.
    $ security remove-trusted-cert ${path-to-ca-cert_file-pem}
    try on your machine
    explain this command
  • security:tldr:d3f75 security: Delete a specific keychain.
    $ security delete-keychain ${filename-keychain}
    try on your machine
    explain this command
back to context overview