Adding some debugging, refactoring *.crt file path