Catch all exceptions while determing the DN.
The external jar complains in case of new LIGO certs.