npm ERR! error:0909006C:PEM routines:get_name:no start line

I’ve seen this question on a closed post, but the link that referred to as a fix doesn’t resolve the issue. Anyhow, I keep getting

npm ERR! error:0909006C:PEM routines:get_name:no start line

When I run npm . (npm install, even when I run npx create-react-app). I’ve uninstalled node, and reinstalled it, I’ve

-f cleared the cache
npm set registry registry.npmjs.org

and nothing seems to work.

I am not sure if it will make a difference, but the examples I saw all include the http protocol:

npm set registry http://registry.npmjs.org

Yes I saw that and tried it. I get the same error.