when I replaced my hub assemblies my old rusted bolts chewed up the threads in the old hub assembly pretty good. I had a heck of a time finding them locally. Dealership had them at $8 each. I went to the junkyard and found 3 good ones for $1. I have a Dana 30 axle. Dont know what you have, but I would take one of the old bolts with you whenever you go shopping for new ones just to ensure you get the right length.
Retired US Army Soldier, now gone fishin'
2001 Grand Cherokee Laredo - RIP
1998 Cherokee Sport
1965 M416 Trailer