findIssuer prototype done

use -i certname to test it
self signed certs are not recognized
comment out the relative codes to test self-signed certs