SAP Knowledge Base Article - Preview

3787790 - Error: You are trying to connect to a server with a self signed certificate

Symptom

  • Launching fiori locally
  • The fiori app accesses the OData in SAP System
  • $metadata call shows error:

    http://localhost:8080/sap/opu/odata/sap/odata service name/$metadata

    Error: You are trying to connect to a server with a self signed certificate. Please check (https://help.sap.com/viewer/17d50220bcd848aa854c9c182d65b699/Latest/en-US/4b318bede7eb4021a8be385c46c74045.html) for guidance.
        at proxyErrorHandler2 (file:///../node_modules/@sap/ux-ui5-tooling/dist/middlewares/fiori-tools-proxy.js:309825:16)
        at ProxyServer.error (file:///../node_modules/@sap/ux-ui5-tooling/dist/middlewares/fiori-tools-proxy.js:310020:9)
        at ProxyServer.emit (file:///../node_modules/@sap/ux-ui5-tooling/dist/middlewares/fiori-tools-proxy.js:274840:31)
        at ClientRequest.proxyError2 (file:///../node_modules/@sap/ux-ui5-tooling/dist/middlewares/fiori-tools-proxy.js:275247:22)
        at ClientRequest.emit (node:events:530:35)
        at TLSSocket.socketErrorListener (node:_http_client:495:9)
        at TLSSocket.emit (node:events:518:28)
        at emitErrorNT (node:internal/streams/destroy:169:8)
        at emitErrorCloseNT (node:internal/streams/destroy:128:3)
        at process.processTicksAndRejections (node:internal/process/task_queues:82:21)


Read more...

Environment

  • SAPUI5

Keywords

ignoreCertErrors, ui5.yaml, ui5-local.yaml, localhost:8080, customMiddleware , KBA , CA-UI5-COR , Core and Runtime , Problem

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.