title: CentOS 7: Error with SSL without having any SSL certificate installed
body: <p>I started an SSL activation process with a certificate I bought in namecheap and I followed this guide <a href="https://www.digitalocean.com/community/tutorials/how-to-create-a-self-signed-ssl-certificate-for-nginx-on-centos-7" rel="nofollow noreferrer">https://www.digitalocean.com/community/tutorials/how-to-create-a-self-signed-ssl-certificate-for-nginx-on-centos-7</a></p>
  
  <p>But I stop the process since the activation took a long time and never worked and the SSL was removed and refunded from namecheap, so I removed the cerficates I created in /etc/ssl also I cleaned my nginx block with the original configuration for my website.</p>
  
  <p>But now with every call using yum or composer or any external call from my website/server is displaying errors related to some missing certificates or errors with them, like these:</p>
  
  <p><strong>With yum</strong></p>
  
  <ul>
  <li>Cannot retrieve metalink for repository: epel/x86_64. Please verify its path and try again</li>
  <li><a href="https://rpm.nodesource.com/pub_6.x/el/7/x86_64/repodata/repomd.xml" rel="nofollow noreferrer">https://rpm.nodesource.com/pub_6.x/el/7/x86_64/repodata/repomd.xml</a>: [Errno 14] curl#77 - "Problem with the SSL CA cert (path? access rights?)"</li>
  </ul>
  
  <p><strong>With composer</strong></p>
  
  <ul>
  <li>[Composer\Downloader\TransportException]
  The "<a href="https://getcomposer.org/versions" rel="nofollow noreferrer">https://getcomposer.org/versions</a>" file could not be downloaded: SSL operation failed wit
  h code 1. OpenSSL Error messages:
  error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed
  Failed to enable crypto
  failed to open stream: operation failed</li>
  </ul>
  
  <p><strong>With a service that call to mailgun from my API</strong></p>
  
  <ul>
  <li>RequestException in CurlFactory.php line 187: cURL error 60: SSL certificate problem: unable to get local issuer certificate (see <a href="http://curl.haxx.se/libcurl/c/libcurl-errors.html" rel="nofollow noreferrer">http://curl.haxx.se/libcurl/c/libcurl-errors.html</a>)</li>
  </ul>
  
  <p>Do you have any idea? Because I researched a lot and cannot find the solution.</p>