Skip to content

Unable to install the CA certificate. sudo: /usr/sbin/update-ca-certificates: command not found #765

@thoriqadillah

Description

@thoriqadillah

Prerequisites

Please answer the following questions before submitting an issue.
YOU MAY DELETE THE PREREQUISITES SECTION.

  • I am running the latest version of Node and the tools
  • I checked the documentation and found no answer
  • I checked to make sure that this issue has not already been filed

Expected behavior

Unable to start the dev server. Error: Unable to install the CA certificate. sudo: /usr/sbin/update-ca-certificates: command not found after executing npm run start:web -- --document {url}

Current behavior

After following the documentation for excel add in custom function, the error is happening after npm run start:web -- --document {url} that states Unable to start the dev server. Error: Unable to install the CA certificate. sudo: /usr/sbin/update-ca-certificates: command not found in Fedora 37. I have tried both in windows and linux. The windows setup is working fine, add in dev server is working and I can start coding and testing the add in. But in linux, it doesn't work. I have checked that I have ca-certificates package installed

Steps to Reproduce

Please provide detailed steps for reproducing the issue.

  1. Generate the project
  2. Follow the documentation for getting started in developing custom function
  3. you get it...

Context

  • Operating System: Fedora Linux 37
  • Node version: 16.16.0
  • Office version: Office web
  • Tool version: yo version: 4.3.1,

Failure Logs

Debugging is being started...
App type: web
The developer certificates have been generated in /home/thoriqadillah/.office-addin-dev-certs
Installing CA certificate "Developer CA for Microsoft Office Add-ins"...
[sudo] password for thoriqadillah: 
Unable to start the dev server. Error: Unable to install the CA certificate. sudo: /usr/sbin/update-ca-certificates: command not found

Sideloading the Office Add-in...
Launching excel via https://onedrive.live.com/edit.aspx?action=editnew&resid=3627B748A810A8C!1898&ithint=file%2cxlsx&action=editnew&ct=1678690455451&wdNewAndOpenCt=1678690455451&wdPreviousSession=6fce27c0-f22c-40a8-a5a3-432ed546abbe&wdOrigin=OFFICECOM-WEB.START.NEW&wdaddindevserverport=3000&wdaddinmanifestfile=manifest.xml&wdaddinmanifestguid=14d9b067-9582-40d9-93da-e641cf520d56
Debugging started.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions