Closed adehad closed 1 year ago
Probably worth mentioning that the following can be done:
npx office-addin-dev-certs install --days 3000
and then manually installing the certificates would be a 'set and forget' config
A new package with updated certificate management scripts was published. Can you try again with the updated package and see if you still encounter these problems?
[Just wanted to compile some of the errors across various issue trackers with keywords and error messages as text to hopefully make it easier when searching for the solution to this.]
Prerequisites
Please answer the following questions before submitting an issue.
Expected behavior
Using the vscode debug command to run the add-in I receive a security related error.
I can confirm I can go into edge and manually go to the webpage https://localhost:3000/taskpane.html
But I get the classic security warning.
I do not receive any pop-up confirming whether I want to install any certificates.
Current behavior
The image above is capturing as much debug information as I could find based on various issues and posts. Once I press
OK
on the pop-up is when the error message appears.I can additionally provide this terminal output (Admin terminal):
I can additionally confirm - to supplement the screenshot. That the "Trusted Root Certificate Authorities" does not contain any expired localhost certs.
I am wondering if this is related to my user account having a space in the name? But I see according to https://github.com/OfficeDev/Office-Addin-Scripts/issues/229 it should be fixed
Steps to Reproduce
Please provide detailed steps for reproducing the issue.
npm install -g yo@4.3.1
npm install generator-office@1.9.2
yo office --projectType react --name "PowerPoint Toolbar" --host powerpoint --ts true
npm install
PowerPoint Desktop (Edge Chromium)
debug taskContext
Please provide any relevant information about your setup. This is important in case the issue is not reproducible except for under certain conditions.
v18.12.1
2210 (Build 15726.20202)
1.92
Failure Logs
Please include any relevant log snippets, screenshots or code samples here.
Pending Items to try
Some options from the linked issues I don't want to try just yet, as I think it would be great if the package worked out of the box and perhaps there is something to learn.