OfficeDev / OfficeDev/Office-Addin-Scripts

why is the exception ignored when executing "certs verify" command?

Open
#828 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

needs triage
Dominant language
TypeScript
Stars
194
Forks
117
Avg merge
1d 32m
Merged PRs (30d)
2

Description

Prerequisites

  • I want to validate my SSL certificate, but I encountered an exception due to the unavailability of OpenSSL.
  • However, I keep receiving the error message 'You need to install certificates for trusted access to https://localhost/'
  • I traced the source script and found issues with my OpenSSL.
  • I discovered that the exception caused by the command is ignored in 'packages/office-addin-dev-certs/src/verify.ts:53'.
  • Why not consider output or throw an exception?

image

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

Current behavior

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start at packages/office-addin-dev-certs/src/verify.ts:53 and trace the exception handling used by the "certs verify" command. Reproduce the OpenSSL-unavailable case and confirm that the completed change exposes the failure instead of reporting only the trusted-access message.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
cli, security
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.