Knife bootstrap getting failled

Hi All,
Using centos machine as chef-server and oracle VM’s as my node and workstation, successfully uploaded the cookbook on server now while bootstraping the node I am getting error saying
error connecting to server(https://localhost/organizations/pjava/nodes/node-1) : failed to open tcp connection to my node machine (x.x.x.x) port 22

Can you provide me a screenshot of the entire error?

Looking at the error seems like you need to create an exception on firewall for port 22.
disable selinux as well

There is one work around for this as well.

Edit your client.rb file and append this line.

ssl_verify_mode :verify_none