X-Git-Url: https://git.distorted.org.uk/~mdw/ca/blobdiff_plain/7d993891a3a9a83577d70e78493de7a51b830fad..0f9d9bad47d069fb05f3f1d937c42125a14c95ea:/bin/update diff --git a/bin/update b/bin/update index bc68410..fb46363 100755 --- a/bin/update +++ b/bin/update @@ -30,6 +30,9 @@ sqlite3 db "$CERTROOT/state/ca.db" db nullvalue nil cd "$CERTROOT" +## Refresh the database's idea of request profiles. +sync-profiles + ## Reissue certificates for requests which need it. set now [now] set now_db [time-db $now] @@ -53,4 +56,7 @@ exec openssl ca -config "etc/openssl.conf" -updatedb 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 --------------------------------------------------