fix cert-status.txt generation