![]() The c_rehash script uses the openssl program to compute the hashes and fingerprints. A warning will be displayed if a duplicate is found.Ī warning will also be displayed if there are files that cannot be parsed as either a certificate or a CRL or if more than one such object appears in the file. Duplicates are found by comparing the full SHA-1 fingerprint. Multiple objects may have the same hash they will be indicated by incrementing the D value. Hashes for CRL's look similar except the letter r appears after the period, like this: HHHHHHHH.rD. To skip the removal step, use the -n flag. When processing a directory, rehash will first remove all links that have a name in that syntax, even if they are being used for some other purpose. The links created are of the form HHHHHHHH.D, where each H is a hexadecimal character and D is a single decimal digit. ![]() In order for a directory to be processed, the user must have write permissions on that directory, otherwise an error will be generated. If that is not set then the default directory (installation-specific but often /usr/local/ssl/certs) is processed. If not, then the SSL_CERT_DIR environment variable is consulted this should be a colon-separated list of directories, like the Unix PATH variable. If any directories are named on the command line, then those are processed in turn. ![]() (If the platform does not support symbolic links, a copy is made.) This utility is useful as many programs that use OpenSSL require directories to be set up like this in order to find certificates. crl file in the specified directory list and creates symbolic links for each file, where the name of the link is the hash value. Rehash scans directories and calculates a hash value of each. They are functionally equivalent, except for minor differences noted below. On some platforms, the OpenSSL rehash command is available as an external script called c_rehash. Openssl-c_rehash, openssl-rehash, c_rehash, rehash - Create symbolic links to files named by the hash values SYNOPSIS
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |