ubuntu 20.04 localhost sudo openssl genrsa 2048 > ca-key.pem code example
Example: , you need to import the CA certificate in ~/.valet/CA into Ubuntu's certificate store.
sudo mkdir /usr/local/share/ca-certificates/extra
sudo cp root.cert.pem /usr/local/share/ca-certificates/extra/root.cert.crt
sudo update-ca-certificates