Brightside - unable to verify the first certificate

book

Article ID: 242484

calendar_today

Updated On:

Products

Brightside

Issue/Introduction

Found error in Jenkins jobs that call Brightside:

07:37:55 + bright zos-jobs submit local-file /jenkins/jenkins.p/workspace/Deploy/FOUNDSVC-MTEST/SUBMIT_QJCL.TXT --zosmf-profile Z-AE82 --wait-for-output

07:38:00 Command Error:

07:38:00 z/OSMF REST API Error:

07:38:00 http(s) request error event called

07:38:00 Error: unable to verify the first certificate

07:38:00 Error Details:

07:38:00 HTTP(S) client encountered an error. Request could not be initiated to host.

07:38:00 Review connection details (host, port) and ensure correctness.

 

 

Cause

Site just updated ZOS to 2.5.  

Zowe CLI command failed due to unable to verify the ZOSMF certificate. 

 

 

Environment

Release : 3.0

Component : BRIGHTSIDE ZOWE CLI

Resolution

As a workaround, set rejectUnauthorized: false in the zosmf profile (to bypass the certificate verification), then issue brightside CLI command.

zowe profiles update zosmf-profile  zosmf-profile-name --reject-unauthorized false