Updated

President Barack Obama says there is still time for the United States and Iran to resolve an impasse over Iran's nuclear program.

Obama said at a news conference Wednesday that there should be a way for Iran to enjoy "peaceful nuclear power" while still meeting international obligations and providing assurances that they are not developing nuclear weapons.

Obama said he "can't promise that Iran will walk through the door they need to walk through," but he wants to see a diplomatic solution.

Iran is weighing a more confrontational strategy over its nuclear program, threatening to boost levels of uranium enrichment unless the West agrees to ease sanctions that have harmed Iran's economy.

The White House has indicated willingness to pursue one-on-one talks with Iran, but no deal has been reached.