4 openssl ca -revoke %KEY_DIR%\%1.crt -config %KEY_CONFIG%
6 openssl ca -gencrl -out %KEY_DIR%\crl.pem -config %KEY_CONFIG%
8 rem first concatinate ca cert with newly generated crl
9 copy %KEY_DIR%\ca.crt+%KEY_DIR%\crl.pem %KEY_DIR%\revoke_test_file.pem
10 rem now verify the revocation
11 openssl verify -CAfile %KEY_DIR%\revoke_test_file.pem -crl_check %KEY_DIR%\%1.crt
12 rem delete temporary test file
13 del /q %KEY_DIR%\revoke_test_file.pem