Add an `update-hook' configuration tweak.
[ca] / bin / update
index 7031c25..09a4c60 100755 (executable)
@@ -50,6 +50,10 @@ archive-certificates
 exec openssl ca -config "etc/openssl.conf" -updatedb 2>@1
 
 ## Generate a CRL.
-exec openssl ca -config "etc/openssl.conf" -gencrl -out "crl" 2>@1
+exec openssl ca -config "etc/openssl.conf" -gencrl | \
+    openssl crl -text -out "crl" 2>@1
+
+## Call the user hook.
+update-hook
 
 ###----- That's all, folks --------------------------------------------------