Kcadm.sh mTLS connection

Hello,
I am using Keycloak as IDP in a project. In some cases, I need to change users’ passwords with the CLI interface. I discovered that there is kcadm.sh for this, but we communicate with Keycloak via mTLS interface. How can I make mTLS communication of CLI(kcadm.sh) interface? I tried to set the truststore settings as follows;

./kcadm.sh config credentials --keystore /opt/project/cert/keycloak/keycloak.jks --storepass 123456 --keypass certpass --alias keycoak --server https://localhost:8443/auth --realm master --user admin --password admin

It worked successfully and creates kcadm.config file within the home/.keycloak directory but whenever I tried user edit command I gets following error;

Nov 23, 2022 6:45:09 AM org.apache.http.impl.execchain.RetryExec execute
INFO: I/O exception (java.net.SocketException) caught when processing request to {s}->https://localhost:8443: Broken pipe (Write failed)
Nov 23, 2022 6:45:09 AM org.apache.http.impl.execchain.RetryExec execute
INFO: Retrying request to {s}->https://localhost:8443
Failed to send request - Received fatal alert: bad_certificate

How can I configure mTLS for kcadm.sh ?

Hi, any advice for this ?