Why is a 19" rackable box only 17" wide?
Solution 1:
It will most likely come with ears or rails to make it the right size to fit in the rack. If the device is indicated to be rack-mountable, it will come with the supplied hardware to make up the difference in width. (In my experience, at least)
Solution 2:
When a vendor says 19" rack mountable
what they actually mean is "19 inches on the center." What that means is that the distance between the center points of the mounting holes on either side of the rail is 19 inches, not that 19 inch wide equipment can fit inside. The actual width available for equipment is a fair bit smaller than that.
Once you install the ears or rails on the device, and measure the distance between the mounting points, you should get something very close to 19 inches.
Solution 3:
You can rack things that are smaller than the exact internal width of the rack by using the ears that the vendor should have supplied to you, if they're saying saying that it's a rackmount piece of gear.
Solution 4:
It's a 'box that fits in a 19" rack', not a '19" box that fits in a rack'.