From 9fd54025f57f0225387cdaca0889e8b18e0ab419 Mon Sep 17 00:00:00 2001 From: Martin Lensment Date: Wed, 20 May 2015 15:44:47 +0300 Subject: [PATCH] Remove old crl script --- bin/update-crl | 28 ---------------------------- 1 file changed, 28 deletions(-) delete mode 100755 bin/update-crl diff --git a/bin/update-crl b/bin/update-crl deleted file mode 100755 index 202409988..000000000 --- a/bin/update-crl +++ /dev/null @@ -1,28 +0,0 @@ -#!/bin/bash - -CRL_PATH='/home/registry/registry/shared/ca/crl' - -mkdir -p $CRL_PATH/crl-temp -cd $CRL_PATH/crl-temp - -wget https://sk.ee/crls/esteid/esteid2007.crl -wget https://sk.ee/crls/juur/crl.crl -wget https://sk.ee/crls/eeccrca/eeccrca.crl -wget https://sk.ee/repository/crls/esteid2011.crl - -openssl crl -in esteid2007.crl -out esteid2007.crl -inform DER -openssl crl -in crl.crl -out crl.crl -inform DER -openssl crl -in eeccrca.crl -out eeccrca.crl -inform DER -openssl crl -in esteid2011.crl -out esteid2011.crl -inform DER - -ln -s crl.crl `openssl crl -hash -noout -in crl.crl`.r0 -ln -s esteid2007.crl `openssl crl -hash -noout -in esteid2007.crl`.r0 -ln -s eeccrca.crl `openssl crl -hash -noout -in eeccrca.crl`.r0 -ln -s esteid2011.crl `openssl crl -hash -noout -in esteid2011.crl`.r0 - -rm -rf ../*.crl ../*.r0 - -mv * .. -cd .. -rm -rf crl-temp -/etc/init.d/apache2 reload