Open X-Guardian opened 5 years ago
Are you open for a PR regarding this issue?
I would use X509 Certificate object as parameter instead.
Yes sure @DanielHabenicht, I'm not sure that you can get the CER data from the x509Certificate
object, but I'm happy to review a PR.
The
AdfsRelyingPartyTrust
resource needs to support an Encryption Certificate and Request Signing Certificates.New resource properties required:
The
AdfsRelyingPartyTrust
cmdlets expect to be passed values of typeSystem.Security.Cryptography.X509Certificates.X509Certificate2
for these parameters.The following code can be used to create an
X509Certificate2
object from the Base64 CER data:The following code can be used to extract Base64 CER data from an
x509Certificate2
object: