title: How to create self-signed VALID certificate for chrome and Firefox?
body: <p>i read several posts about how to create a self-signed certificate, however even if the certificate is created correctly, Firefox instead of showing me a green lock, it shows a warning symbol on green lock as "Connection is not Secure", while in Chrome instead of showing a green text, it displays a red text as "Not secured" and "Certificate Invalid".</p>
  
  <p>So what should i do for local development to have it as valid certificate (except to purchase one) for my linux OS ? </p>
  
  <p>i tried everything written on <a href="https://serverfault.com/questions/845766/generating-a-self-signed-cert-with-openssl-that-works-in-chrome-58">https://serverfault.com/questions/845766/generating-a-self-signed-cert-with-openssl-that-works-in-chrome-58</a> but without success to get the green TRUSTED and Valid certificate under chrome 64.x</p>
  
  <p>What was valid for Chrome 58 seems to be invalid for Chrome 64.x</p>
  
  <p>thx</p>