Story highlights

Obama said his administration was "concerned about the outbreak of violence"

He also pointed a finger at Israeli Prime Minister Benjamin Netanyahu and Palestinian President Mahmoud Abbas

Washington CNN  — 

President Barack Obama condemned recent violence in Israel on Friday and reiterated that a two-state solution is the best answer to continued unrest.

Standing side by side with South Korean President Park Geun-hye, Obama also said that South Korea and the U.S. would “never accept North Korea as a nuclear state” and added that he supports long-term efforts at reunification.

Violence ramped up in Jerusalem this week after two Israelis were stabbed to death by a Palestinian; that spurred further violence and other stabbings. In the past month, eight Israelis died in 30 attacks involving knives and other weapons, with many more being wounded. Palestinian officials have said more than 30 Palestinians have been killed in the past month. More than 1,100 have been injured, mostly in fighting with Israeli forces.

At a White House press conference, Obama said his administration was “concerned about the outbreak of violence” and said people in Israel should have a basic expectation of law and order. But he also pointed a finger at Israeli Prime Minister Benjamin Netanyahu and Palestinian President Mahmoud Abbas.

“We also believe that it’s important for both, Prime Minister Netanyahu and Israeli elected officials and President Abbas and other people in positions of power, to try to tamp down rhetoric that may feed violence or anger or misunderstanding and try to get all people in Israel and in the West Bank to recognize that this kind of random violence is not going to result in anything other than more hardship and more insecurity,” Obama said.

Obama also praised Park’s efforts at Korean reunification and had measured criticism for North Korea, even opening the door to the possibility of negotiations.

“As my administration has shown with Iran and with Cuba, we are also prepared to engage nations with which we have had troubled histories, but Pyongyang needs to understand it will not achieve the economic development it seeks so long as it clings to nuclear weapons,” Obama said.

CNN’s Ben Brumfield and Greg Botelho contributed to this report.