title: How to 'trust' self signed .dev certificate on Ubuntu
body: <p>I'm using the following code to generate a certificate as we transition to using a purchased .dev domain for local development:</p>
  
  <pre><code>openssl req -x509 -out domain.dev.crt -keyout domain.dev.key \
    -newkey rsa:2048 -nodes -sha256 \
    -days 3650 \
    -subj '/C=UK/O=Vizibl/CN=*.domain.dev' -extensions EXT -config &lt;( \
     printf "[dn]\nCN=*.domain.dev\n[req]\ndistinguished_name = dn\n[EXT]\nsubjectAltName=DNS:*.domain.dev\nkeyUsage=digitalSignature\nextendedKeyUsage=serverAuth")
  </code></pre>
  
  <p>The certificate is working fine on Mac OSX after adding it to Keychain Access but on ubuntu I am running into issues using any browser.</p>
  
  <p>I have tried adding the certificate to my <code>ca-certificates</code> and have ensured it appears in my <code>certificates.crt</code>.</p>
  
  <p>In chrome when accessing a localhost domain pointing to the URL such as microservice1.domain.dev I'm greeted with a <code>NET::ERR_CERT_INVALID</code>. I have also confirmed this does not work if I try to specify a specific subdomain rather than a root cert.</p>