Chef-server connection issues

Hey i am trying to connect my server with the hosted chef

  1. ive downloaded the key
  2. ive moved it to the /learn-chef/.chef dir

PS C:\Users\rasonganyi.pc\learn-chef.chef> ls

Directory: C:\Users\rasonganyi.pc\learn-chef\.chef

Mode LastWriteTime Length Name


-a---- 11/9/2017 2:34 PM 1678 fontemdish.pem
-a---- 11/9/2017 1:10 PM 420 knife.rb

but when i run the ssl-check i get the following:

ERROR: Network Error: No connection could be made because the target machine actively refused it. - connect(2) for “api.chef.io” port 443

is there any port configuration i need to do on the chef server itsself? i dont see anywhere in the roles where i am allowed to configure the port.

Thanks