Hello, I'm new to chef and have been going through training tutorials @ https://learn.chef.io
I'm currently on this section:
https://learn.chef.io/modules/manage-a-node-chef-server/windows/bring-your-own-system/set-up-your-chef-server#/
But, when running 'knife ssl fetch' or 'knife ssl check' I receive the following:
C:/opscode/chefdk/embedded/lib/ruby/gems/2.5.0/gems/mixlib-log-2.0.4/lib/mixlib/log/logger.rb:86:in exist?': no implicit conversion of Symbol into String (TypeError) from C:/opscode/chefdk/embedded/lib/ruby/gems/2.5.0/gems/mixlib-log-2.0.4/lib/mixlib/log/logger.rb:86:in
open_logfile'
from C:/opscode/chefdk/embedded/lib/ruby/gems/2.5.0/gems/mixlib-log-2.0.4/lib/mixlib/log/logger.rb:67:in initialize' from C:/opscode/chefdk/embedded/lib/ruby/gems/2.5.0/gems/mixlib-log-2.0.4/lib/mixlib/log/logger.rb:42:in
new'
from C:/opscode/chefdk/embedded/lib/ruby/gems/2.5.0/gems/mixlib-log-2.0.4/lib/mixlib/log/logger.rb:42:in initialize' from C:/opscode/chefdk/embedded/lib/ruby/gems/2.5.0/gems/mixlib-log-2.0.4/lib/mixlib/log.rb:177:in
new'
from C:/opscode/chefdk/embedded/lib/ruby/gems/2.5.0/gems/mixlib-log-2.0.4/lib/mixlib/log.rb:177:in logger_for' from C:/opscode/chefdk/embedded/lib/ruby/gems/2.5.0/gems/mixlib-log-2.0.4/lib/mixlib/log.rb:83:in
init'
from C:/opscode/chefdk/embedded/lib/ruby/gems/2.5.0/
gems/chef-14.6.47-universal-mingw32/lib/chef/knife.rb:404:in apply_computed_config' from C:/opscode/chefdk/embedded/lib/ruby/gems/2.5.0/gems/chef-14.6.47-universal-mingw32/lib/chef/knife.rb:419:in
configure_chef'
from C:/opscode/chefdk/embedded/lib/ruby/gems/2.5.0/gems/chef-14.6.47-universal-mingw32/lib/chef/knife.rb:219:in run' from C:/opscode/chefdk/embedded/lib/ruby/gems/2.5.0/gems/chef-14.6.47-universal-mingw32/lib/chef/application/knife.rb:161:in
run'
from C:/opscode/chefdk/embedded/lib/ruby/gems/2.5.0/gems/chef-14.6.47-universal-mingw32/bin/knife:24:in <top (required)>' from C:/opscode/chefdk/modules/chef/../../bin/knife:311:in
load'
from C:/opscode/chefdk/modules/chef/../../bin/knife:311:in `'
My knife.rb is located @ C:\users\ME\Documents\chef\learn-chef.chef, as is my chefadmin.pem file, and looks like this:
current_dir = File.dirname(FILE)
log_level :info
log_location :STDOUT
node_name :"chefadmin"
client_key "#{current_dir}/chefadmin.pem"
chef_server_url "https://mychefserver.mydomain.com/organizations/4thcoffee"
cookbook_path ["#{current_dir}/../cookbooks"]
My chef server is running on Ubuntu Server 18.04, and my chef workstation is running Windows 10.
Can anyone help?