" keytool error: java.lang.Exception: Keystore file does not exist: "
You have to create a default keystore in your JAVA_HOME.
JAVA_HOME/jre/lib/security/cacerts
cacerts
default password is changeit.
This file is important and should be secured. You can read more here
Once that's done you should be able to use mkcert.