passport renewal in sa


My h1b has been approved recently.I want to appear for stamping with current passport.Passport validity until 2018 jan.Once i traveled to usa.Can i apply for passport renewal in usa or need to travel to India in 2017 mid.

While appearing for h1b stamping passport validity will impact on h1b stamping duration?