Al Gore gave Gov. Cuomo his environmental stamp of approval Friday during a joint appearance in which they blasted President Trump’s plan for offshore drilling.

“Offshore drilllng is a really, really dumb idea,” Cuomo said during the event, held at NYU.

The governor issued a formal comment to the Trump administration saying New York wants no part of it.

For Cuomo, the benefit was as much political as environmental.

Gore, the former vice president who won a Nobel Prize in 2007 for his research on climate change proclaimed the governor — who’s facing a potential re-election challenge from the left — a friend of the environment.

“He has done what I dream every governor would do,” said Gore.

“What the people of New York State, and especially Governor Andrew Cuomo have demonstrated, is a lesson for the entire country, namely, that political will is itself is a renewable resource.”

Cuomo has vowed New York will be coal-free by 2020 and generate half its energy from renewal or non-carbon sources by 2030. He supports offshore wind turbines.

Gore rapped Trump for pushing for more drilling — and not just in the ocean.

“The administration has been pushing for oil drilling everywhere. In national monuments, in public lands, virtually giving away the minerals that actually do belong to the people of this country. Removing protections at the same time. So we have a very clear choice here,” he said.

Gore also told a few corny jokes.

He likened Donald Trump’s presidency to a science experiment.

“In science, some experiments are terminated early for ethical reasons. I don’t know what the future holds,” he said to laughter.

Environmental activists who protested outside the event said if Cuomo really wants to protect New York’s waters from fossil fuel development, he should oppose a planned 23-mile gas pipeline that would run under the New York Harbor to carry gas between New Jersey and the Rockaways.