Skip to content

Latest commit

 

History

History
27 lines (19 loc) · 992 Bytes

NOTES-FOR-LOCAL-SETUP.md

File metadata and controls

27 lines (19 loc) · 992 Bytes

How to setup for local development with LEO CDP as framework

SSL for domain leocdp.example.com

Video: https://youtu.be/EbbHKfE9AKY

Steps to create Locally Trusted SSL Certificates with mkcert on Ubuntu

sudo apt install libnss3-tools -y
wget https://github.com/FiloSottile/mkcert/releases/download/v1.4.4/mkcert-v1.4.4-linux-amd64
sudo cp mkcert-v1.4.4-linux-amd64 /usr/local/bin/mkcert
sudo chmod +x /usr/local/bin/mkcert
mkcert -install
mkcert -CAROOT
mkcert example.com "*.example.com" example.test localhost 127.0.0.1 ::1
sudo cp example.com+5.pem /usr/local/share/ca-certificates/example.com+5.crt
sudo update-ca-certificates
  • UPDATE NGINX ssl_certificate
  • UPDATE CHROME ssl_certificate

Ref