, you need to import the CA certificate in ~/.valet/CA into Ubuntu's certificate store. 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