You can also specify a custom path using the --keyset option:
If you don't want to use the default locations, you can explicitly point hactool to your key file using the hactool prod.keys does not exist
If it’s empty or has garbage text, re-extract keys. You can also specify a custom path using
"[WARN] prod.keys does not exist" typically occurs because the program cannot find your Nintendo Switch encryption keys in its expected directory or because they haven't been specified in your command. Quick Fix: Direct Command hactool prod.keys does not exist