Fixing can not create client, bad configuration: did not find a proper configuration for private key