We are working on converting the wiki to a static website controlled by markdown files in https://github.com/nsis-community. You can already see there how plug-ins will be posted. The end-user interface will still be a website but with a fresh coat of paint. Come meet us at Discord to talk about it.

Talk:Import Root Certificate

From NSIS Wiki
Jump to navigationJump to search

Great bit of code, I'm trying to modify the windows code to add a user's private certificate but I can't seem to figure it out. If you change the cert to a p12 type it not only fails but crashes at the "CertAddCertificateContextToStore" command. My thought is that the code is not opening the correct store, but i'm unable to figure out where you got the settings for some of the variables such as ${CERT_SYSTEM_STORE_LOCAL_MACHINE} which I'm trying to set to CERT_SYSTEM_STORE_CURRENT_USER

Any suggestions you might have as to how to proceed would be great!

Mike