I am trying to use the xExchange resource, however it requires a credentials to work. I tried to duplicate the Workstation Auth template. I don’t think I configured it correctly. Does anyone have detailed configuration for the template so I can correct issue a certificate that will work?
I also tried making a self-signed and it was giving me issues as well.
I ran this first one from a PowerShell book about DSC, but it returned an error saying the -eku was not correct.
makecert -r -pe -n “CN=Exch01.contoso.local” -eku 126.96.36.199.188.8.131.52.2 -sky exchange -sp “Microsoft RSA SChannel Cryptographic Provider” -sy 12 -sv Exch01.pvk Exch01.cer
Encryption certificates must contain the Data Encipherment or Key Encipherment key usage, and include the
Document Encryption Enhanced Key Usage (184.108.40.206.4.1.311.80.1).
I created a new cert using the -eku from the error and that didn’t work either, same error as above.
makecert -r -pe -n “CN=Exch01.contoso.local” -eku 220.127.116.11.4.1.311.80.1 -sky exchange -sp “Microsoft RSA SChannel Cryptographic Provider” -sy 12 -sv Exch01.pvk Exch01.cer