title: An unexpected error occurred: "https://registry.yarnpkg.com/react: unable to get local issuer certificate" while create-react-app
body: <p>I have the following installed on my windows machine:</p>
  <p>Node : v12.18.4</p>
  <p>yarn : 1.19.1</p>
  <p>create-react-app: 3.4.1</p>
  <p>I navigated to the folder c:\temp and then tried to create react app using the following command:</p>
  <p>c:\temp&gt;create-react-app react-test --scripts-version 1.1.5</p>
  <p>On executing the above command I see the following error:</p>
  <pre><code>Creating a new React app in C:\Temp\react-test.
  
  Installing packages. This might take a couple of minutes.
  Installing react, react-dom, and react-scripts with cra-template...
  
  yarn add v1.19.1
  [1/4] Resolving packages...
  error An unexpected error occurred: &quot;https://registry.yarnpkg.com/react: unable to get local issuer certificate&quot;.
  info If you think this is a bug, please open a bug report with the information provided in &quot;C:\\Temp\\react-test\\yarn-error.log&quot;.
  info Visit https://yarnpkg.com/en/docs/cli/add for documentation about this command.
  
  Aborting installation.
    yarnpkg add --exact react react-dom react-scripts cra-template --cwd C:\Temp\react-test has failed.
  
  Deleting generated file... package.json
  Deleting generated file... yarn.lock
  Done.
  </code></pre>
  <p>Can anyone help me here by providing their guidance to fix this issue</p>