+++ This bug was initially created as a clone of Bug #1802505 +++ Description of problem: Can't create "ocp4_admin.kubeconfig" with `oc config --kubeconfig` Version-Release number of selected component (if applicable): oc client: v4.3.2 How reproducible: always Steps to Reproduce: When run automation cases: `oc config set-credentials admin --client-certificate=/root/workdir/dhcp-140-138-root/bbbb --client-key=/root/workdir/dhcp-140-138-root/aaaa --embed-certs=true --server=https://xxx --kubeconfig=/root/workdir/dhcp-140-138-root/ocp4_admin.kubeconfig --insecure-skip-tls-verify=true` Actual results: Can't create the config file 'ocp4_admin.kubeconfig' Expected results: 3. Should create. Additional info: `oc config --kubeconfig=/root/workdir/dhcp-140-138-root/ocp4_admin.kubeconfig` works well.
*** This bug has been marked as a duplicate of bug 1789869 ***