← back to the all resources

Generate Localhost Certs

8 months ago

To make https secure when access Eddie in your web browser, you can generate your own locally-trusted certificates. We recommend to use mkcert which is a simple tool for making locally-trusted development certificates. Here are the steps:

  • Install mkcert: https://github.com/FiloSottile/mkcert

  • Generate your locally-trusted certificates:

      $ mkcert localhost
      Created a new certificate valid for the following names 📜
      - "localhost"
    
      The certificate is at "./localhost.pem" and the key at "./localhost-key.pem" 
  • Rename your generated certificates and overwrite the default certs in ./server/cert folder under Eddie

    $ mv localhost.pem ./server/cert/cert.pem
    $ mv localhost-key.pem ./server/cert/key.pem

Contact Us

DataSense Analytics, Inc.

10620 Treena St Suite 230

San Diego, CA 92131

info@datasenseanalytics.com