implementing remove_existing_certs, issue #17