Has to be done with the box off the car, IMO. Don't recall the size offhand, but I had an SAE socket that would fit it. 1-3/16" maybe?
If you're working on the car, don't forget that there is a lock tab (which should be replaced) turned up against one flat of the nut.