print the hashes of selected certificates
improvements in certificate handling