OfficeDev / Office-Addin-TaskPane-Angular

Template to get start started writing a TaskPane Office Add-in for the Angular framework using TypeScript
Other
13 stars 19 forks source link

Add In SideLoading Error (Not signed message) #94

Closed tobiashoeft closed 1 year ago

tobiashoeft commented 2 years ago

I did a sideload to test my add-in. I received the following error message:

image

The Application is hosted on a web server via. SSL. To test it before it goes production.

What am i missing?

The manifest is valid.

millerds commented 2 years ago

Can you translate the error to English?

tobiashoeft commented 2 years ago

The content is blocked because it was not signed with your valid security certificate

millerds commented 2 years ago

Can you run 'npx office-addin-dev-certs verify' and let me know the results?

tobiashoeft commented 2 years ago

Hi, thx for reply.

You have trusted access to https://localhost. Certificate: C:\Users\tobii.office-addin-dev-certs\localhost.crt Key: C:\Users\tobii.office-addin-dev-certs\localhost.key

millerds commented 2 years ago

run 'npx office-addin-dev-certs uninstall' and then try and sideload again (you'll have to approve using certs again).

tobiashoeft commented 2 years ago

Okay thanks.

Does the client using the add-in need to have the certificate installed, or is it just for signing?

millerds commented 2 years ago

The certificate is just for local development (serving the add-in from localhost). Once your add-in is hosted in a production environment then you updated the manifest to point to that location and anyone loading using that manifest will not need the certificate.