title: Install SSL certificate on the linux VM with .Net Core web API
body: <p>I have a Ubuntu VM on Azure with .Net Core 3 Web API application. I use a custom domain and got an SSL certificate file issued by the trusted CA. How can I set it up? Should it be a part of Linux or .Net Core configuration?</p>
  
  <p>Surfing the web pointed me to the tutorial which suggests copying the certificate file to the <code>/usr/local/share/ca-certificates/</code> and run <code>sudo update-ca-certificates</code>. This does not work. The browser still complains.</p>
  
  <p>This <a href="https://docs.microsoft.com/en-us/aspnet/core/security/enforcing-ssl?view=aspnetcore-3.1&amp;tabs=visual-studio" rel="nofollow noreferrer">.Net Core tutorial</a> talks only about development certificates.</p>