Quantcast
Channel: Windows PowerShell Forum
Viewing all articles
Browse latest Browse all 2562

Setting Attribute msPKI-RA-Application-Policies on a certificate in Powershell

$
0
0

Having followed the instructions on this thread https://social.technet.microsoft.com/Forums/en/winserverpowershell/thread/347acc93-8352-4535-ab1a-23ebd49eea22 i have got stuck trying to set the msPKI-RA-Application-Policies attribute. 

I have been trying

$NewTempl.put("msPKI-RA-Application-Policies", "msPKI-Asymmetric-Algorithm`PZPWSTR`RSA`msPKI-Hash-Algorithm`PZPWSTR`SHA256")

However it is not recognising the grave accent characters when then outputting the certificate temple to a file using:

certutil -dsTemplate -v <CertName> > c:\cert.txt

Thanks in advance.


Viewing all articles
Browse latest Browse all 2562

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>