Ex-Secretary of State John Kerry has confided that he may make a second bid for the White House — as he urged Palestinian leader Mahmoud Abbas to resist President Trump, according to a report.

“[Abbas] should stay strong in his spirit and play for time — that he should not break down and not capitulate to Trump’s demands,” Kerry told an Abbas confidant, according to the Hebrew daily Ma’ariv.

The Jerusalem Post picked up the Ma’ariv story in English.

Kerry also suggested during his London confab with Hussein Agha, the Palestinian Authority president’s close associate, that the PA formulate its own peace proposal.

“Maybe it is time for the Palestinians to define their peace principles and present a positive plan,” he said, adding that Abbas should show Trump that he will “not break and will not yield” to his demands.

Kerry promised to use all his contacts and abilities to build support for a plan pitched by the Palestinians.

He asked Abbas, through Agha, not to attack the Trump administration, but to concentrate on personal attacks on Trump, who Kerry said was directly responsible for the stalled peace process.

In the report about the conversation, Agha said Kerry appears to be “crazy about things,” very energetic and eager to help realize the dream of peace between Israelis and Palestinians.

Kerry said that even fellow Republicans do not know what to do with the erratic Trump — and that patience was needed to get through this turbulent period.

According to the report, Kerry also used derogatory terms when referring to Trump.

The 2004 Democratic presidential nominee has continued to meet with Agha, who served as an intermediary for Kerry and Abbas during Kerry’s four years as top diplomat.

Kerry also told the Lebanese scholar that Trump – whose administration is under investigation for possible collusion with Russia — will likely not be in the White House much longer.

If Trump survives his first term, the Massachusetts Democrat suggested he may seek to unseat him in 2020.

Last September, Kerry refused to rule out the possibility of running in 2020, telling MSNBC that he did not “have any plans right now” to run for president.

If elected, Kerry would be 77 on inauguration day in 2021 – making him the oldest president in US history. The current record is held by Trump, who was 70 when he was sworn in last year.

Agha is a senior associate member of St. Antony’s College, Oxford, and co-author of “A Framework for a Palestinian National Security Doctrine.”

He maintains an extensive network of contacts with many influential Israelis.

Agha declined to respond to the report. The Israeli paper could not reach Kerry for comment.