title: Setup SSL with vapor
body: <p>I have a config like this </p>
  
  <pre><code>{
      "default": {
          "port": "443",
          "host": "example.com",
          "securityLayer": "tls",
          "tls": {
              "certificates": "files",
              "certificateFile": "/etc/letsencrypt/live/example.com/fullchain.pem",
              "privateKeyFile": "/etc/letsencrypt/live/example.com/privkey.pem"
          }
      }
  }
  </code></pre>
  
  <p>On <code>drop</code> startup it prints out this console message:</p>
  
  <pre><code>No TLS signature supplied, defaulting to selfSigned.
  </code></pre>
  
  <p>Judging by the code that produces that error message it expects <code>signature</code> field in the config that would be either <code>selfSigned</code>, <code>signedFile</code> or <code>signedDirectory</code></p>
  
  <p><a href="https://i.stack.imgur.com/gLCGI.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/gLCGI.png" alt="enter image description here"></a></p>
  
  <p>I have this files from <code>let's encrypt</code>: </p>
  
  <ul>
  <li>cert.pem  </li>
  <li>chain.pem  </li>
  <li>fullchain.pem  </li>
  <li>privkey.pem</li>
  </ul>
  
  <p>What do I do to resolve that error message? </p>