How to remove Enhanced Key Usage using New-SelfSignedCertificate
问题 After running the following command, the Extended Key Usage / Enhanced Key Usage is showing both client and server authorization, how do I remove this option for Root CAs and Intermediate CAs, as CAs should not have these options. What other parameters should be added into the New-SelfSignedCertificate to remove the option below? Client Authentication (1.3.6.1.5.5.7.3.2) Server Authentication (1.3.6.1.5.5.7.3.1) Windows 10 Power Shell v5 openssl 1.1.1 $RootCA = New-SelfSignedCertificate