[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Lynx-dev] installing ssl certs?
From: |
Thorsten Glaser |
Subject: |
Re: [Lynx-dev] installing ssl certs? |
Date: |
Mon, 14 Mar 2005 15:04:18 +0000 (UTC) |
Ian Collier dixit:
>$ openssl version -d
>OPENSSLDIR: "/usr/share/ssl"
Ah, nice one, didn't know that.
>The c_rehash command which comes with some distributions of OpenSSL is
>basically a fancy script for finding out the hash of each certificate
>in a particular directory and creating the appropriate symlink.
What about
for f in *.pem; do h=$(openssl x509 -in $f -noout -hash); let i=0; \
while [[ -e $h.$i ]]; do let ++i; done; openssl x509 -in $f -out $h.$i; done
Should work (that's ksh[1], might work on GNU bash, but didn't check it).
//mirabile
[1] http://wiki.mirbsd.de/MirbsdKsh for the portable version
--
> [...] Echtzeit hat weniger mit "Speed"[...] zu tun, sondern damit, daß der
> richtige Prozeß voraussagbar rechtzeitig sein Zeitscheibchen bekommt.
Wir haben uns[...] geeinigt, dass das verwendete Echtzeit-Betriebssystem[...]
weil selbst einfachste Operationen *echt* *Zeit* brauchen. (aus d.a.s.r)