ah you only listed the /CN= part in the blacklist file ; the blacklist.sh script matches the full certificate DN, however.
Either list the full certificate DN in the blacklist.txt file, or do partial matching, e.g.
if echo "$2" | grep -q "$i"
then
exit 1
fi