You will need to use a certificate authority (CA) to sign your CSR to obtain your server certificate. This certificate’s signature will be verified by web browsers that are configured to trust the CA. 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