President Barack Obama is urging North Korean leaders to “have the courage to pursue peace” and warning the country that provocation will lead to condemnation by the international community.