He has pleaded not guilty to charges of aiding the enemy , conspiracy to commit war crimes and attempted murder while fighting alongside the Taleban .