title: Git LFS give x509: certificate signed by unknown authority
body: <p>I have just setup an Ubuntu 18.04 LTS Server with Gitlab following the instructions from <a href="https://about.gitlab.com/install/#ubuntu" rel="noreferrer">https://about.gitlab.com/install/#ubuntu</a>.</p>
  
  <p>I have issued a ssl certificate from GoDaddy and confirmed this works with the Gitlab server.</p>
  
  <p>I have then updated gitlab.rb: <code>gitlab_rails[‘lfs_enabled’] = true</code></p>
  
  <p>I have installed GIT LFS Client from <a href="https://git-lfs.github.com/" rel="noreferrer">https://git-lfs.github.com/</a>.</p>
  
  <p>I have then tried to find a solution online on why I do not get LFS to work. I always get</p>
  
  <blockquote>
    <p>x509: certificate signed by unknown authority</p>
  </blockquote>
  
  <p>Other settings done in <em>gitlab.rb</em>:</p>
  
  <pre><code>gitlab_workhorse[‘env’] = {
  ‘SSL_CERT_DIR’ =&gt; ‘/opt/gitlab/embedded/ssl/certs/’
  }
  nginx[‘redirect_http_to_https’] = true
  </code></pre>
  
  <p>I am not an expert on Linux/Unix/git - but have used Unix/Linux for some 30+ years and git for a number of years - not just setup git with LFS myself before.</p>