Fixing cert paths