[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: c_rehash (openssl)
begin electrogrammati illius Greg FItzgerald
>a few small tools for openssl one being c_rehash. Why doesn't c_rehash
>or anything under tools get installed by default? After looking around
It's superfluous.
Just put all the files as *.pem into one directory and execute
$ for a in *.pem; do openssl x509 -in "$a" -out "$(openssl \
x509 -noout -hash -in "$a").0"; done
Be sure that no hash conflicts:
$ ls -1 *.pem | wc -l ; ls -1 *.0 | wc -l
The numbers must be equal, else do hand-work.
//Thorsten
--
Ich erinnere mich noch an meinen Geschichtsunterricht, als man mir
vermittelt hat, daß im Mittelalter der Zehnte eingeführt wurde, und ich
dachte mir: zehn Prozent! Wow ist das viel! Ein Glück, daß wir nicht
mehr im Mittelalter leben! -- Felix von Leitner in d.a.s.r