I am getting "Security-Unsigned Add-In" error when opening Revit.

I am getting "Security-Unsigned Add-In" error when opening Revit.

oguzkomcu
Enthusiast Enthusiast
542 Views
3 Replies
Message 1 of 4

I am getting "Security-Unsigned Add-In" error when opening Revit.

oguzkomcu
Enthusiast
Enthusiast

I'm creating a plugin for Revit. Even though I made a code change in the file, I keep getting this error "Security-Unsigned Add-In" while opening revit. I answer this error as "always load" but when I open it again I get the same question. How can I fix this?

0 Likes
Accepted solutions (1)
543 Views
3 Replies
Replies (3)
Message 2 of 4

jeremy_tammik
Alumni
Alumni

First of all, please search previous messages in this forum, The Building Coder blog, and the Internet in general for previous discussions and solutions on this topic. Have you already done so? Thank you!

  

Jeremy Tammik Developer Advocacy and Support + The Building Coder + Autodesk Developer Network + ADN Open
0 Likes
Message 3 of 4

oguzkomcu
Enthusiast
Enthusiast

Jeremy, I've done the necessary research. First I created a certificate. I applied the necessary steps from this website "https://help.autodesk.com/view/RVT/2021/ENU/?guid=Revit_API_Revit_API_Developers_Guide_Introduction_...".

First, I created a digital signature. I converted this to "pfx" format. Then I applied this code "signtool.exe sign /fd SHA256 /f <.pfx-file-name> /p <password> <file-to-sign>.dll". My actions were correct but I still keep getting the same error.

0 Likes
Message 4 of 4

jeremy_tammik
Alumni
Alumni
Accepted solution

Oh dear,  sorry to hear that. I am not an expert on this myself, sorry to say, so I can only point to prior discussions here in the forum and on The Building Coder, e.g.:

 

 

I also just answered your StackOverflow question on how to make a trusted publishers certificate, pointing out the latter article containing Konrad Sobon's self-signing solution:

 

 

I hope that will enable you to solve your task.

  

Afaik, in the end, everybody was able to solve this issue in the past, so I am sure you will achieve the desired result as well.

  

Jeremy Tammik Developer Advocacy and Support + The Building Coder + Autodesk Developer Network + ADN Open