ERROR: SSL Validation Failure connecting to host

Hello Everyone,

I'm pretty new to Chef and recently I have been struggling with the second module on learn.chef.io. When trying to upload a cookbook to my Ubuntu 18.04 Chef-Server I'm getting a SSL validation failure. I have done some research on this but after a couple weeks, I'm not able to find a solution.
My environment is within the same subnet, no firewalls between the Chef-Server(Ubuntu 18.04) and Chef-Workstation(W2016).

Has anyone seem this error before? how were you able to fix it?

ERROR: SSL Validation failure connecting to host: chef-server - SSL_connect returned=1 errno=0 state=error: certificate verify failed (error number 1)
ERROR: SSL Validation failure connecting to host: chef-server - SSL_connect returned=1 errno=0 state=error: certificate verify failed (error number 1)
ERROR: SSL Validation failure connecting to host: chef-server - SSL_connect returned=1 errno=0 state=error: certificate verify failed (error number 1)
ERROR: SSL Validation failure connecting to host: chef-server - SSL_connect returned=1 errno=0 state=error: certificate verify failed (error number 1)
#<Thread:0x000000000aa2e1d0@C:/opscode/chef-workstation/embedded/lib/ruby/gems/2.5.0/gems/logging-2.2.2/lib/logging/diagnostic_context.rb:471 run> terminated with exception (report_on_exception is true):
C:/opscode/chef-workstation/embedded/lib/ruby/gems/2.5.0/gems/chef-14.10.9-universal-mingw32/lib/chef/http.rb:451:in rescue in retrying_http_errors': SSL Error connecting to https://chef-server/bookshelf/organi zation-5c77569594c12f6252237446bb4ef708/checksum-44cf8d56cdec7fd795e8c59c11c213e6?AWSAccessKeyId=c97b597b252c533b58c83163a2734a629dd88f8e&Expires=1558460828&Signature=HxDT6hkLtvjqHKO0JasZ0kc4bxw%3D - SSL_connect returned=1 errno=0 state=error: certificate verify failed (error number 1) (OpenSSL::SSL::SSLError) from C:/opscode/chef-workstation/embedded/lib/ruby/gems/2.5.0/gems/chef-14.10.9-universal-mingw32/lib/chef/http.rb:408:inretrying_http_errors'
from C:/opscode/chef-workstation/embedded/lib/ruby/gems/2.5.0/gems/chef-14.10.9-universal-mingw32/lib/chef/http.rb:365:in send_http_request' from C:/opscode/chef-workstation/embedded/lib/ruby/gems/2.5.0/gems/chef-14.10.9-universal-mingw32/lib/chef/http.rb:149:inrequest'
from C:/opscode/chef-workstation/embedded/lib/ruby/gems/2.5.0/gems/chef-14.10.9-universal-mingw32/lib/chef/http.rb:123:in put' from C:/opscode/chef-workstation/embedded/lib/ruby/gems/2.5.0/gems/chef-14.10.9-universal-mingw32/lib/chef/cookbook_uploader.rb:129:inblock in uploader_f
unction_for'
from C:/opscode/chef-workstation/embedded/lib/ruby/gems/2.5.0/gems/chef-14.10.9-universal-mingw32/lib/chef/util/threaded_job_queue.rb:52:in block (3 levels) in process' from C:/opscode/chef-workstation/embedded/lib/ruby/gems/2.5.0/gems/chef-14.10.9-universal-mingw32/lib/chef/util/threaded_job_queue.rb:50:inloop'
from C:/opscode/chef-workstation/embedded/lib/ruby/gems/2.5.0/gems/chef-14.10.9-universal-mingw32/lib/chef/util/threaded_job_queue.rb:50:in block (2 levels) in process' from C:/opscode/chef-workstation/embedded/lib/ruby/gems/2.5.0/gems/logging-2.2.2/lib/logging/diagnostic_context.rb:474:inblock in create_with_logging_context'
#<Thread:0x000000000aa2e5e0@C:/opscode/chef-workstation/embedded/lib/ruby/gems/2.5.0/gems/logging-2.2.2/lib/logging/diagnostic_context.rb:471 run> terminated with exception (report_on_exception is true):
C:/opscode/chef-workstation/embedded/lib/ruby/gems/2.5.0/gems/chef-14.10.9-universal-mingw32/lib/chef/http.rb:451:in rescue in retrying_http_errors' : SSL Error connecting to https://chef-server/bookshelf/organization-5c77569594c12f6252237446bb4ef708/checksum-13f3f080127817c72f65f97ba2882639?AWSAccessKeyId=c97b597b252c533b58c83163a2734a629dd88f8e&Expires=1558460828&Signature=yFw%2BqUepwB1SVwKx%2BgJcpPWtMwA%3D - SSL_connect returned=1 errno=0 state=error: certificate verify failed (error number 1) (OpenSSL::SSL::SSLError) from C:/opscode/chef-workstation/embedded/lib/ruby/gems/2.5.0/gems/chef-14.10.9-universal-mingw32/lib/chef/http.rb:408:inretrying_http_errors'
from C:/opscode/chef-workstation/embedded/lib/ruby/gems/2.5.0/gems/chef-14.10.9-universal-mingw32/lib/chef/http.rb:365:in send_http_request' from C:/opscode/chef-workstation/embedded/lib/ruby/gems/2.5.0/gems/chef-14.10.9-universal-mingw32/lib/chef/http.rb:149:inrequest'
from C:/opscode/chef-workstation/embedded/lib/ruby/gems/2.5.0/gems/chef-14.10.9-universal-mingw32/lib/chef/http.rb:123:in put' from C:/opscode/chef-workstation/embedded/lib/ruby/gems/2.5.0/gems/chef-14.10.9-universal -mingw32/lib/chef/cookbook_uploader.rb:129:inblock in uploader_function_for'

    from C:/opscode/chef-workstation/embedded/lib/ruby/gems/2.5.0/gems/chef-14.10.9-universal-mingw32/lib/chef/util/threaded_job_queue.rb:52:in `block (3 levels) in process'
    from C:/opscode/chef-workstation/embedded/lib/ruby/gems/2.5.0/gems/chef-14.10.9-universal-mingw32/lib/chef/util/threaded_job_queue.rb:50:in `loop'
    from C:/opscode/chef-workstation/embedded/lib/ruby/gems/2.5.0/gems/chef-14.10.9-universal-mingw32/lib/chef/util/threaded_job_queue.rb:50:in `block (2 levels) in process'
    from C:/opscode/chef-workstation/embedded/lib/ruby/gems/2.5.0/gems/logging-2.2.2/lib/logging/diagnostic_context.rb:474:in `block in create_with_logging_context'

#<Thread:0x000000000aa2ddc0@C:/opscode/chef-workstation/embedded/lib/ruby/gems/2.5.0/gems/logging-2.2.2/lib/logging/diagnostic_context.rb:471 run> terminated with exception (report_on_exception is true):
C:/opscode/chef-workstation/embedded/lib/ruby/gems/2.5.0/gems/chef-14.10.9-universal-mingw32/lib/chef/http.rb:451:in rescue in retrying_http_errors': SSL Error connecting to https://chef-server/bookshelf/organization-5c77569594c12f6252237446bb4ef708/checksum-c4082b6c254c9fb71136710391d9728b?AWSAccessKeyId=c97b597b252c533b58c83163a2734a629dd88f8e&Expires=1558460828&Signature=p81w%2Bqvz/6D3n7sQySMcGGM/4zk%3D - SSL_connect returned=1 errno=0 state=error: certificate verify failed (error number 1) (OpenSSL::SSL::SSLError) from C:/opscode/chef-workstation/embedded/lib/ruby/gems/2.5.0/gems/chef-14.10.9-universal-mingw32/lib/chef/http.rb:408:inretrying_http_errors'
from C:/opscode/chef-workstation/embedded/lib/ruby/gems/2.5.0/gems/chef-14.10.9-universal-mingw32/lib/chef/http.rb:365:in send_http_request' from C:/opscode/chef-workstation/embedded/lib/ruby/gems/2.5.0/gems/chef-14.10.9-universal-mingw32/lib/chef/http.rb:149:inrequest'
from C:/opscode/chef-workstation/embedded/lib/ruby/gems/2.5.0/gems/chef-14.10.9-universal-mingw32/lib/chef/http.rb:123:in put' from C:/opscode/chef-workstation/embedded/lib/ruby/gems/2.5.0/gems/chef-14.10.9-universal-mingw32/lib/c hef/cookbook_uploader.rb:129:inblock in uploader_function_for'
from C:/opscode/chef-workstation/embedded/lib/ruby/gems/2.5.0/gems/chef-14.10.9-universal-mingw32/lib/chef/util/threaded_job_queue.rb:52:in block (3 levels) in process' from C:/opscode/chef-workstation/embedded/lib/ruby/gems/2.5.0/gems/chef-14.10.9-universal-mingw32/lib/chef/util/threaded_job_queue.rb:50:inloop'
from C:/opscode/chef-workstation/embedded/lib/ruby/gems/2.5.0/gems/chef-14.10.9-universal-mingw32/lib/chef/util/threaded_job_queue.rb:50:in block (2 levels) in process' from C:/opscode/chef-workstation/embedded/lib/ruby/gems/2.5.0/gems/logging-2.2.2/lib/logging/diagnostic_context.rb:474:inblock in create_with_logging_context'
#<Thread:0x000000000aa2dbb8@C:/opscode/chef-workstation/embedded/lib/ruby/gems/2.5.0/gems/logging-2.2.2/lib/logging/diagnostic_context.rb:471 run> terminated with exception (report_on_exception is true):
C:/opscode/chef-workstation/embedded/lib/ruby/gems/2.5.0/gems/chef-14.10.9-universal-mingw32/lib/
chef/http.rb:451:in rescue in retrying_http_errors': SSL Error connecting to https://chef-server/bookshelf/organization-5c77569594c12f6252237446bb4ef708/checksum-b34def2b5927ee5cab9ff74f0028f917?AWSAccessKeyId=c97b597b252c533b58c83163a2734a629dd88f8e&Expires=1558460828&Signature=earMJdHd1lhprYsf3Q3kjuI4wIA%3D - SSL_connect returned=1 errno=0 state=error: certificate verify failed (error number 1) (OpenSSL::SSL::SSLError) from C:/opscode/chef-workstation/embedded/lib/ruby/gems/2.5.0/gems/chef-14.10.9-universal-mingw32/lib/chef/http.rb:408:inretrying_http_errors'
from C:/opscode/chef-workstation/embedded/lib/ruby/gems/2.5.0/gems/chef-14.10.9-universal-mingw32/lib/chef/http.rb:365:in send_http_request' from C:/opscode/chef-workstation/embedded/lib/ruby/gems/2.5.0/gems/chef-14.10.9-universal-mingw32/lib/chef/http.rb:149:inrequest'
from C:/opscode/chef-workstation/embedded/lib/ruby/gems/2.5.0/gems/chef-14.10.9-universal-mingw32/lib/chef/http.rb:123:in put' from C:/opscode/chef-workstation/embedded /lib/ruby/gems/2.5.0/gems/chef-14.10.9-universal-mingw32/lib/chef/cookbook_uploader.rb:129:inblock in uploader_function_for'

    from C:/opscode/chef-workstation/embedded/lib/ruby/gems/2.5.0/gems/chef-14.10.9-universal-mingw32/lib/chef/util/threaded_job_queue.rb:52:in `block (3 levels) in process'
    from C:/opscode/chef-workstation/embedded/lib/ruby/gems/2.5.0/gems/chef-14.10.9-universal-mingw32/lib/chef/util/threaded_job_queue.rb:50:in `loop'
    from C:/opscode/chef-workstation/embedded/lib/ruby/gems/2.5.0/gems/chef-14.10.9-universal-mingw32/lib/chef/util/threaded_job_queue.rb:50:in `block (2 levels) in process'
    from C:/opscode/chef-workstation/embedded/lib/ruby/gems/2.5.0/gems/logging-2.2.2/lib/logging/diagnostic_context.rb:474:in `block in create_with_logging_context'

ERROR: SSL Validation failure connecting to host: chef-server - SSL_connect returned=1 errno=0 state=error: certificate verify failed (error number 1)
#<Thread:0x000000000aa2d9b0@C:/opscode/chef-workstation/embedded/lib/ruby/gems/2.5.0/gems/logging-2.2.2/lib/logging/diagnostic_context.rb:471 run> terminated with exception (report_on_exception is true):
C:/opscod
e/chef-workstation/embedded/lib/ruby/gems/2.5.0/gems/chef-14.10.9-universal-mingw32/lib/chef/http.rb:451:in rescue in retrying_http_errors': SSL Error connecting to https://chef-server/bookshelf/organization-5c77569594c12f6252237446bb4ef708/checksum-16c5fd02ecf977cf43e334eafb178986?AWSAccessKeyId=c97b597b252c533b58c83163a2734a629dd88f8e&Expires=1558460828&Signature=0x5HcE06LQW/Hn6k/XErUcZAJZE%3D - SSL_connect returned=1 errno=0 state=error: certificate verify failed (error number 1) (OpenSSL::SSL::SSLError) from C:/opscode/chef-workstation/embedded/lib/ruby/gems/2.5.0/gems/chef-14.10.9-universal-mingw32/lib/chef/http.rb:408:inretrying_http_errors'
from C:/opscode/chef-workstation/embedded/lib/ruby/gems/2.5.0/gems/chef-14.10.9-universal-mingw32/lib/chef/http.rb:365:in send_http_request' from C:/opscode/chef-workstation/embedded/lib/ruby/gems/2.5.0/gems/chef-14.10.9-universal-mingw32/lib/chef/http.rb:149:inrequest'
from C:/opscode/chef-workstation/embedded/lib/ruby/gems/2.5.0/gems/chef-14.10.9-uni
versal-mingw32/lib/chef/http.rb:123:in put' from C:/opscode/chef-workstation/embedded/lib/ruby/gems/2.5.0/gems/chef-14.10.9-universal-mingw32/lib/chef/cookbook_uploader.rb:129:inblock in uploader_function_for'
from C:/opscode/chef-workstation/embedded/lib/ruby/gems/2.5.0/gems/chef-14.10.9-universal-mingw32/lib/chef/util/threaded_job_queue.rb:52:in block (3 levels) in process' from C:/opscode/chef-workstation/embedded/lib/ruby/gems/2.5.0/gems/chef-14.10.9-universal-mingw32/lib/chef/util/threaded_job_queue.rb:50:inloop'
from C:/opscode/chef-workstation/embedded/lib/ruby/gems/2.5.0/gems/chef-14.10.9-universal-mingw32/lib/chef/util/threaded_job_queue.rb:50:in block (2 levels) in process' from C:/opscode/chef-workstation/embedded/lib/ruby/gems/2.5.0/gems/logging-2.2.2/lib/logging/diagnostic_context.rb:474:inblock in create_with_logging_context'
ERROR: SSL Validation failure connecting to host: chef-server - SSL_connect returned=1 errno=0 state=error: certificate verify failed (error number 1)

ERROR: SSL Validation failure connecting to host: chef-server - SSL_connect returned=1 errno=0 state=error: certificate verify failed (error number 1)
#<Thread:0x000000000aa2dfc8@C:/opscode/chef-workstation/embedded/lib/ruby/gems/2.5.0/gems/logging-2.2.2/lib/logging/diagnostic_context.rb:471 run> terminated with exception (report_on_exception is true):
C:/opscode/chef-workstation/embedded/lib/ruby/gems/2.5.0/gems/chef-14.10.9-universal-mingw32/lib/chef/http.rb:451:in rescue in retrying_http_errors': SSL Error connecting to https://chef-server/bookshelf/organization-5c77569594c12f6252237446bb4ef708/checksum-07b69a0a9a5e7efee4e379fedc82189b?AWSAccessKeyId=c97b597b252c533b58c83163a2734a629dd88f8e&Expires=1558460828&Signature=KabNdj9PK%2BpWJHMXTxEOi5re4xA%3D - SSL_connect returned=1 errno=0 state=error: certificate verify failed (error number 1) (OpenSSL::SSL::SSLError) from C:/opscode/chef-workstation/embedded/lib/ruby/gems/2.5.0/gems/chef-14.10.9-universal-mingw32/lib/chef/http.rb:408:inretrying_http_err
ors'

    from C:/opscode/chef-workstation/embedded/lib/ruby/gems/2.5.0/gems/chef-14.10.9-universal-mingw32/lib/chef/http.rb:365:in `send_http_request'
    from C:/opscode/chef-workstation/embedded/lib/ruby/gems/2.5.0/gems/chef-14.10.9-universal-mingw32/lib/chef/http.rb:149:in `request'
    from C:/opscode/chef-workstation/embedded/lib/ruby/gems/2.5.0/gems/chef-14.10.9-universal-mingw32/lib/chef/http.rb:123:in `put'
    from C:/opscode/chef-workstation/embedded/lib/ruby/gems/2.5.0/gems/chef-14.10.9-universal-mingw32/lib/chef/cookbook_uploader.rb:129:in `block in uploader_function_for'
    from C:/opscode/chef-workstation/embedded/lib/ruby/gems/2.5.0/gems/chef-14.10.9-universal-mingw32/lib/chef/util/threaded_job_queue.rb:52:in `block (3 levels) in process'
    from C:/opscode/chef-workstation/embedded/lib/ruby/gems/2.5.0/gems/chef-14.10.9-universal-mingw32/lib/chef/util/threaded_job_queue.rb:50:in `loop'
    from C:/opscode/chef-workstation/embedded/lib/ruby/gems/2.5.0/gems/chef-14.10.9-universal-mingw32/lib/chef/util/threaded_job

_queue.rb:50:in block (2 levels) in process' from C:/opscode/chef-workstation/embedded/lib/ruby/gems/2.5.0/gems/logging-2.2.2/lib/logging/diagnostic_context.rb:474:inblock in create_with_logging_context'
#<Thread:0x000000000aa2e3d8@C:/opscode/chef-workstation/embedded/lib/ruby/gems/2.5.0/gems/logging-2.2.2/lib/logging/diagnostic_context.rb:471 run> terminated with exception (report_on_exception is true):
C:/opscode/chef-workstation/embedded/lib/ruby/gems/2.5.0/gems/chef-14.10.9-universal-mingw32/lib/chef/http.rb:451:in rescue in retrying_http_errors': SSL Error connecting to https://chef-server/bookshelf/organization-5c77569594c12f6252237446bb4ef708/checksum-000752fbe2bfbfae62b8d3d46379915e?AWSAccessKeyId=c97b597b252c533b58c83163a2734a629dd88f8e&Expires=1558460828&Signature=jKllpwXv5rokU4IbAl46npRnG44%3D - SSL_connect returned=1 errno=0 state=error: certificate verify failed (error number 1) (OpenSSL::SSL::SSLError) from C:/opscode/chef-workstation/embedded/lib/ruby/gems/2.5.0/gems/chef-14.10.9-univ ersal-mingw32/lib/chef/http.rb:408:inretrying_http_errors'
from C:/opscode/chef-workstation/embedded/lib/ruby/gems/2.5.0/gems/chef-14.10.9-universal-mingw32/lib/chef/http.rb:365:in send_http_request' from C:/opscode/chef-workstation/embedded/lib/ruby/gems/2.5.0/gems/chef-14.10.9-universal-mingw32/lib/chef/http.rb:149:inrequest'
from C:/opscode/chef-workstation/embedded/lib/ruby/gems/2.5.0/gems/chef-14.10.9-universal-mingw32/lib/chef/http.rb:123:in put' from C:/opscode/chef-workstation/embedded/lib/ruby/gems/2.5.0/gems/chef-14.10.9-universal-mingw32/lib/chef/cookbook_uploader.rb:129:inblock in uploader_function_for'
from C:/opscode/chef-workstation/embedded/lib/ruby/gems/2.5.0/gems/chef-14.10.9-universal-mingw32/lib/chef/util/threaded_job_queue.rb:52:in block (3 levels) in process' from C:/opscode/chef-workstation/embedded/lib/ruby/gems/2.5.0/gems/chef-14.10.9-universal-mingw32/lib/chef/util/threaded_job_queue.rb:50:inloop'
from C:/opscode/chef-workstation/embedded/lib/ruby/gems/2.5.0/
gems/chef-14.10.9-universal-mingw32/lib/chef/util/threaded_job_queue.rb:50:in block (2 levels) in process' from C:/opscode/chef-workstation/embedded/lib/ruby/gems/2.5.0/gems/logging-2.2.2/lib/logging/diagnostic_context.rb:474:inblock in create_with_logging_context'
ERROR: SSL Validation failure connecting to host: chef-server - SSL_connect returned=1 errno=0 state=error: certificate verify failed (error number 1)
ERROR: SSL Validation failure connecting to host: chef-server - SSL_connect returned=1 errno=0 state=error: certificate verify failed (error number 1)
#<Thread:0x000000000aa2d7a8@C:/opscode/chef-workstation/embedded/lib/ruby/gems/2.5.0/gems/logging-2.2.2/lib/logging/diagnostic_context.rb:471 run> terminated with exception (report_on_exception is true):
C:/opscode/chef-workstation/embedded/lib/ruby/gems/2.5.0/gems/chef-14.10.9-universal-mingw32/lib/chef/http.rb:451:in rescue in retrying_http_errors': SSL Error connecting to https://chef-server/bookshelf/organization-5c77569594c12f6252237446b b4ef708/checksum-b07319b29677202719cc021c45183653?AWSAccessKeyId=c97b597b252c533b58c83163a2734a629dd88f8e&Expires=1558460828&Signature=PjiU3rlxfvAipSV/SVcZlanmrsg%3D - SSL_connect returned=1 errno=0 state=error: certificate verify failed (error number 1) (OpenSSL::SSL::SSLError) from C:/opscode/chef-workstation/embedded/lib/ruby/gems/2.5.0/gems/chef-14.10.9-universal-mingw32/lib/chef/http.rb:408:inretrying_http_errors'
from C:/opscode/chef-workstation/embedded/lib/ruby/gems/2.5.0/gems/chef-14.10.9-universal-mingw32/lib/chef/http.rb:365:in send_http_request' from C:/opscode/chef-workstation/embedded/lib/ruby/gems/2.5.0/gems/chef-14.10.9-universal-mingw32/lib/chef/http.rb:149:inrequest'
from C:/opscode/chef-workstation/embedded/lib/ruby/gems/2.5.0/gems/chef-14.10.9-universal-mingw32/lib/chef/http.rb:123:in put' from C:/opscode/chef-workstation/embedded/lib/ruby/gems/2.5.0/gems/chef-14.10.9-universal-mingw32/lib/chef/cookbook_uploader.rb:129:inblock in uploader_function_for'
from C:/opscode/chef-workstation/embedded/lib/ruby/gems/2.5.0/gems/chef-14.10.9-universal-mingw32/lib/chef/util/threaded_job_queue.rb:52:in block (3 levels) in process' from C:/opscode/chef-workstation/embedded/lib/ruby/gems/2.5.0/gems/chef-14.10.9-universal-mingw32/l ib/chef/util/threaded_job_queue.rb:50:inloop'
from C:/opscode/chef-workstation/embedded/lib/ruby/gems/2.5.0/gems/chef-14.10.9-universal-mingw32/lib/chef/util/threaded_job_queue.rb:50:in block (2 levels) in process' from C:/opscode/chef-workstation/embedded/lib/ruby/gems/2.5.0/gems/logging-2.2.2/lib/logging/diagnostic_context.rb:474:inblock in create_with_logging_context'
#<Thread:0x000000000aa2d5a0@C:/opscode/chef-workstation/embedded/lib/ruby/gems/2.5.0/gems/logging-2.2.2/lib/logging/diagnostic_context.rb:471 run> terminated with exception (report_on_exception is true):
C:/opscode/chef-workstation/embedded/lib/ruby/gems/2.5.0/gems/chef-14.10.9-universal-mingw32/lib/chef/http.rb:451:in rescue in retrying_http_errors': SSL Error connecting to https://chef-server/bookshelf/organization-5c77569594c12f6252237446bb4ef708/checksum-fa57c4fbe15183434f1747209aaf2c14?AWSAccessKeyId=c97b597b252c533b58c83163a2734a629dd88f8e&Expires=1558460828&Signature=SNY6sHpCwEos8FgPJLGNQT9lV4Y%3D - SSL_connect returned=1 e rrno=0 state=error: certificate verify failed (error number 1) (OpenSSL::SSL::SSLError) from C:/opscode/chef-workstation/embedded/lib/ruby/gems/2.5.0/gems/chef-14.10.9-universal-mingw32/lib/chef/http.rb:408:inretrying_http_errors'
from C:/opscode/chef-workstation/embedded/lib/ruby/gems/2.5.0/gems/chef-14.10.9-universal-mingw32/lib/chef/http.rb:365:in send_http_request' from C:/opscode/chef-workstation/embedded/lib/ruby/gems/2.5.0/gems/chef-14.10.9-universal-mingw32/lib/chef/http.rb:149:inrequest'
from C:/opscode/chef-workstation/embedded/lib/ruby/gems/2.5.0/gems/chef-14.10.9-universal-mingw32/lib/chef/http.rb:123:in put' from C:/opscode/chef-workstation/embedded/lib/ruby/gems/2.5.0/gems/chef-14.10.9-universal-mingw32/lib/chef/cookbook_uploader.rb:129:inblock in uploader_function_for'
from C:/opscode/chef-workstation/embedded/lib/ruby/gems/2.5.0/gems/chef-14.10.9-universal-mingw32/lib/chef/util/threaded_job_queue.rb:52:in block (3 levels) in process' from C:/opscode/chef-workstation/embe dded/lib/ruby/gems/2.5.0/gems/chef-14.10.9-universal-mingw32/lib/chef/util/threaded_job_queue.rb:50:inloop'
from C:/opscode/chef-workstation/embedded/lib/ruby/gems/2.5.0/gems/chef-14.10.9-universal-mingw32/lib/chef/util/threaded_job_queue.rb:50:in block (2 levels) in process' from C:/opscode/chef-workstation/embedded/lib/ruby/gems/2.5.0/gems/logging-2.2.2/lib/logging/diagnostic_context.rb:474:inblock in create_with_logging_context'
ERROR: SSL Validation failure connecting to host: chef-server - SSL_connect returned=1 errno=0 state=error: certificate verify failed (error number 1)
#<Thread:0x000000000aa2e810@C:/opscode/chef-workstation/embedded/lib/ruby/gems/2.5.0/gems/logging-2.2.2/lib/logging/diagnostic_context.rb:471 run> terminated with exception (report_on_exception is true):
C:/opscode/chef-workstation/embedded/lib/ruby/gems/2.5.0/gems/chef-14.10.9-universal-mingw32/lib/chef/http.rb:451:in rescue in retrying_http_errors': SSL Error connecting to https://chef-server/bookshelf/organization-5c7 7569594c12f6252237446bb4ef708/checksum-f0b437719f43805c27aaaa9567d9cd24?AWSAccessKeyId=c97b597b252c533b58c83163a2734a629dd88f8e&Expires=1558460828&Signature=o%2BPmYWylPY454WuQ%2BDHT3t%2B/hck%3D - SSL_connect returned=1 errno=0 state=error: certificate verify failed (error number 1) (OpenSSL::SSL::SSLError) from C:/opscode/chef-workstation/embedded/lib/ruby/gems/2.5.0/gems/chef-14.10.9-universal-mingw32/lib/chef/http.rb:408:inretrying_http_errors'
from C:/opscode/chef-workstation/embedded/lib/ruby/gems/2.5.0/gems/chef-14.10.9-universal-mingw32/lib/chef/http.rb:365:in send_http_request' from C:/opscode/chef-workstation/embedded/lib/ruby/gems/2.5.0/gems/chef-14.10.9-universal-mingw32/lib/chef/http.rb:149:inrequest'
from C:/opscode/chef-workstation/embedded/lib/ruby/gems/2.5.0/gems/chef-14.10.9-universal-mingw32/lib/chef/http.rb:123:in put' from C:/opscode/chef-workstation/embedded/lib/ruby/gems/2.5.0/gems/chef-14.10.9-universal-mingw32/lib/chef/cookbook_uploader.rb:129:inblock in uploader_function_for'
from C:/opscode/chef-workstation/embedded/lib/ruby/gems/2.5.0/gems/chef-14.10.9-universal-mingw32/lib/chef/util/threaded_job_queue.rb:52:in block (3 levels) in process' from C:/opscode/chef-workstation/embedded/lib/ruby/gems/2.5.0/gems/chef-14.10.9-universal-mingw32/l ib/chef/util/threaded_job_queue.rb:50:inloop'
from C:/opscode/chef-workstation/embedded/lib/ruby/gems/2.5.0/gems/chef-14.10.9-universal-mingw32/lib/chef/util/threaded_job_queue.rb:50:in block (2 levels) in process' from C:/opscode/chef-workstation/embedded/lib/ruby/gems/2.5.0/gems/logging-2.2.2/lib/logging/diagnostic_context.rb:474:inblock in create_with_logging_context'
ERROR: Could not establish a secure connection to the server.
Use knife ssl check to troubleshoot your SSL configuration.
If your Chef Server uses a self-signed certificate, you can use
knife ssl fetch to make knife trust the server's certificates.

Original Exception: OpenSSL::SSL::SSLError: SSL Error connecting to https://chef-server/bookshelf/organization-5c77569594c12f6252237446bb4ef708/checksum-f0b437719f43805c27aaaa9567d9cd24?AWSAccessKeyId=c97b597b252c533b58c83163a2734a629dd88f8e&Expires=1558460828&Signature=o%2BPmYWylPY454WuQ%2BDHT3t%2B/hck%3D - SSL_connect returned=1 errno=0 state=error: certificate verify failed (
error number 1)