add some debug information for certificate/key loading