walletpassphrase 9999999
or (for minting only) use this
walletpassphrase 9999999 true
whats the difference between these two
The second, which is more secure, doesn't allow to send coins without typing the password.
You can try by yourself.
The second opens the wallet for minting only.
more secure.