roadie-backstage-plugins icon indicating copy to clipboard operation
roadie-backstage-plugins copied to clipboard

argocd:create-resources: unable to verify the first certificate

Open cmoulliard opened this issue 1 year ago • 2 comments

Issue

Is there a way to by pass such a TLS Certificate issue reason: unable to verify the first certificate when we create a new argocd resource using the action

    - id: create-argocd-resources
      name: Create ArgoCD Resources
      action: argocd:create-resources
      input:
        appName: ${{ parameters.component_id }}-bootstrap
        argoInstance: argocdQShift # Match appconfig => argocd/appLocatorMethods/instances/name
        namespace: ${{ parameters.namespace }}
        repoUrl: ${{ steps.publish.output.remoteUrl }}
        labelValue: ${{ parameters.name }}
        path: 'argocd/'

Error reported

2024-01-25T12:03:02.000Z Beginning step Create ArgoCD Resources22024-01-25T12:03:02.000Z FetchError: request to https://openshift-gitops-server-openshift-gitops.apps.qshift.snowdrop.dev//api/v1/session, Opens in a new window failed, reason: 
unable to verify the first certificate3    at 
ClientRequest.<anonymous> (/opt/app-root/src/dynamic-plugins-root/roadiehq-scaffolder-backend-argocd-dynamic/node_modules/node-fetch/lib/index.js:1501:11)4    at 
ClientRequest.emit (node:events:517:28)5    at 
TLSSocket.socketErrorListener (node:_http_client:501:9)6    at 
TLSSocket.emit (node:events:517:28)7    at 
emitErrorNT (node:internal/streams/destroy:151:8)8    at 
emitErrorCloseNT (node:internal/streams/destroy:116:3)9    at 
process.processTicksAndRejections (node:internal/process/task_queues:82:21)

cmoulliard avatar Jan 25 '24 12:01 cmoulliard

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

github-actions[bot] avatar Mar 25 '24 12:03 github-actions[bot]

Please dont unstale it as it still need roadie feedback

cmoulliard avatar Mar 25 '24 13:03 cmoulliard

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

github-actions[bot] avatar May 24 '24 13:05 github-actions[bot]