Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Question
Wednesday, August 9, 2017 11:14 AM
Hi,
Please assist with modifying the powershell script to install the security certificate in a different location? It is currently installing to the ‘Trusted People’ location, but we need to install to ‘Trusted Root Certificate Authorities’ and ‘Intermediate Certificate Authorities’. This have to come from UWP packages. Please some one provide me with steps.
Regards,
Bhaskar.R
All replies (3)
Wednesday, August 9, 2017 8:20 PM
The below link might help you.
Please mark as answered, If you feel Happy.
Thursday, August 10, 2017 7:49 AM
Hi Bhaskar.R
Since the problem seems to be more related to the powershell, I'll help you to move it to the Windows PowerShell Forum to seek for help.
Best regards,
Roy
MSDN Community Support
Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact [email protected].
Thursday, August 10, 2017 9:22 AM
Hi Roy,
Actually am trying build my UWP application, when Build Packages are generated, when i try to install the package on the device by running the "Add-AppDevPackage.ps" using powershell, it always installs the certificate into Trusted People. when i edit the "Add-AppDevPackage" code i found this which generated by built in system.
In function DoElevatedOperations
# Add cert to store
certutil.exe -addstore TrustedPeople $CertificatePath
My requirement is to change this store, before generating the build.
Thanks in Advance,
Bhaskar.R