Certificate Addition in user mode
hi all
i need to add a certificate file in the Trusted Root Certification Authorities into the local machine and not local user through a msi i have been able to see it in local machine when in admin mode but its adding to local user in the the user mode how do i add it ONLY to local user in the user mode????
Please help......
Thanks in Advance..
i need to add a certificate file in the Trusted Root Certification Authorities into the local machine and not local user through a msi i have been able to see it in local machine when in admin mode but its adding to local user in the the user mode how do i add it ONLY to local user in the user mode????
Please help......
Thanks in Advance..
0 Comments
[ + ] Show comments
Answers (4)
Please log in to answer
Posted by:
Inabus
15 years ago
CertMgr.exe -add "<certificiate> -s -r LocalMachine ROOT
Not sure thats going to work tbh as I dont normally put stuff into a specific store but:
http://msdn.microsoft.com/en-us/library/e78byta0(VS.80).aspx
Should help.
P
Not sure thats going to work tbh as I dont normally put stuff into a specific store but:
http://msdn.microsoft.com/en-us/library/e78byta0(VS.80).aspx
Should help.
P
Posted by:
bubble_buzz21
15 years ago
Posted by:
MsiCreator
13 years ago
Hi all
I have to add the certificate for peruser and not for the permachine .
When I am trying to add it using above mention command it is creating per machine keys (HKLM) and not the per user keys.(HKCU).
I have tried below commands but some prompt related to adding the certificate is coming for the confirmation brfore adding certificate.
certmgr.exe -add -c "<cert-file>" -s -r CurrentUser root
We need to supress the that dialog. Is their any silent parameter for certmgr.exe .
Thanks In advance.
I have to add the certificate for peruser and not for the permachine .
When I am trying to add it using above mention command it is creating per machine keys (HKLM) and not the per user keys.(HKCU).
I have tried below commands but some prompt related to adding the certificate is coming for the confirmation brfore adding certificate.
certmgr.exe -add -c "<cert-file>" -s -r CurrentUser root
We need to supress the that dialog. Is their any silent parameter for certmgr.exe .
Thanks In advance.
Posted by:
anonymous_9363
13 years ago
I don't know a lot about certificate storage but, from reading good old MSDN (damn useful, this Google thing, you know: I wonder if it'll catch on?), it would appear that:
- user-level storage is the default, so I'd leave off everything after the '-s' shown in your command line;
- there is no silent switch. Use 'Start /B [your command line]' to kick it off.
- user-level storage is the default, so I'd leave off everything after the '-s' shown in your command line;
- there is no silent switch. Use 'Start /B [your command line]' to kick it off.
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
so that the conversation will remain readable.