Fix: Use cert variable instead of hardcoded path