President Trump on Friday said he has received a “very beautiful letter” from Kim Jong Un, adding that he could have another meeting with the North Korean leader — whose regime continues to test ballistic missiles.

Speaking to reporters at the White House before leaving for a fundraiser in the Hamptons, the president did not say when such a meeting would take place.

The rogue regime has been testing missiles despite a June 30 meeting between Trump and Kim at which the two agreed to revive stalled talks, which have yet to resume.

Pyongyang said earlier this week that Kim supervised a live-fire demonstration of newly developed, short-range ballistic missiles intended to send a warning to the US and South Korea over their joint military exercises.

In his statements Friday, Trump said that South Korea and Japan need to get along, referring to a dispute between the two key Washington allies.

Seoul and Tokyo are mired in a worsening political and trade dispute that is fueling concerns that it might undercut three-way security cooperation to fend off Pyongyang’s nuclear threats.

Meanwhile, Defense Secretary Mark Esper met with senior South Korean leaders Friday during his first international trip since being confirmed in his post.

While the trade issue came up in his meetings in Seoul, Esper reiterated the significance of the South Korean-US alliance, adding that the allies would continue to coordinate on North Korea.

Esper arrived in Seoul on Thursday, a day after Trump said South Korea agreed to “pay a lot more” to bear the costs required for the upkeep of 28,500 American troops in South Korea and that talks are under way to discuss the issue.

But a spokesman for the South Korean Foreign Ministry told reporters on Thursday that the negotiations had not yet begun.

On Friday, a ministry official said Esper did not mention the costs during his meeting with Foreign Minister Kang Kyung-wha, according to Yonhap News Agency.

Esper asked South Korea to dispatch troops to join a US-led maritime force in the Strait of Hormuz off the coast of Iran, according to Yonhap.

South Korea’s Defense Ministry denied the report, insisting that Esper only said he would expect cooperation from the international community to ensure freedom of navigation in the strait.

With Post wires