Comments (2)
I encountered a scenario where certificate check failed via office-addin-dev-certs due to an OpenSSL error.
Reproduce:
- disabled OpenSSL or remove it
- install dev certs
- run
office-addin-dev-certs verify
Then you will got 'pls install trusted certs....'
Per checked, this line: if [ 0 -lt $(echo "$cert" | openssl x509 -checkend 86400 | grep -c "will not expire") ]; then
throw an error by OpenSSL. However, it will ignore the error thrown by the script's process as @Code-Agitator mentioned.
from office-addin-scripts.
Per the comment in the code shown in the screen shot, in some cases (this has to work across different platforms) exceptions are thrown when the certificate is just not installed as opposed to an error when trying to check. The message returned indicates the certificate needs to be installed which is correct in those exception cases.
However, you bring up a valid point that an exception isn't always going to simply be a lack of the certificate being installed. It would be nice to at least provide some output showing what was going on and possibly distinguish between a "missing cert" exception and something else.
Thanks for reporting this. I have added a work item to our backlog (internal id 8677374), but we cannot provide and estimate for when we might get to this. Feel free to submit a PR with a fix for our consideration if you don't feel like waiting.
from office-addin-scripts.
Related Issues (20)
- Web Addin certificate issue while building docker container image
- office-addin-manifest export fails when localization file is referenced
- getGraphToken is missing HOT 1
- office-addin-debugging Unsupported engine HOT 4
- CustomFunctionsMetadataPlugin ERROR in Conflict: Multiple assets emit different content to the same filename HOT 7
- validate works in CLI but office fails validation HOT 10
- "Icon URL Unreachable" error but URL is reachable (while validating manifest.xml) HOT 7
- custom-function-metadata should not use fs in parseTree HOT 3
- packages should specific exactly what they export. HOT 1
- Issues with AppContainer Loopback Logic in `office-addin-debugging` and `office-addin-dev-settings` HOT 4
- Should office-addin-dev-certs work for browsers? HOT 2
- Office-AddIn-Mock failed to mock getOfficeDisplayLanguage and build a project
- "Unable to start the dev server" on Ubuntu WSL HOT 2
- office-addin-sso needs to be updated to work with the JSON manifest HOT 2
- office-addin-manifest returns success on non-existent manifest file path HOT 3
- excel-custom-functions-js Unsupported engine (node 20) HOT 1
- shared run time add-in parameter problem HOT 6
- Azure Identity Libraries and Microsoft Authentication Library Elevation of Privilege Vulnerability HOT 3
- office-addin-lint bug thinks calling load() is needed for navigation properties in PowerPoint HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from office-addin-scripts.