You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The Get-SPIDMetadatas PS script use the following code to load the certificate: $cert = (New-Object System.IO.StreamReader($certificateFilePath)).ReadToEnd()
This code considers that the certificate file contains the plain certificate in base64. Unfortunately usually .cer file format is defined as follow -----BEGIN CERTIFICATE----- <base64 certificate> -----END CERTIFICATE-----
So, at current time, the PS script generates the XML metadata as follows <md:KeyDescriptor use="signing"> <ds:KeyInfo xmlns:ds="http://www.w3.org/2000/09/xmldsig#"> <ds:X509Data> <ds:X509Certificate>-----BEGIN CERTIFICATE----- ..... -----END CERTIFICATE----- </ds:X509Certificate>
This is a not valid certificate data inside the XML metadata
The text was updated successfully, but these errors were encountered:
The Get-SPIDMetadatas PS script use the following code to load the certificate:
$cert = (New-Object System.IO.StreamReader($certificateFilePath)).ReadToEnd()
This code considers that the certificate file contains the plain certificate in base64. Unfortunately usually .cer file format is defined as follow
-----BEGIN CERTIFICATE----- <base64 certificate> -----END CERTIFICATE-----
So, at current time, the PS script generates the XML metadata as follows
<md:KeyDescriptor use="signing"> <ds:KeyInfo xmlns:ds="http://www.w3.org/2000/09/xmldsig#"> <ds:X509Data> <ds:X509Certificate>-----BEGIN CERTIFICATE----- ..... -----END CERTIFICATE----- </ds:X509Certificate>
This is a not valid certificate data inside the XML metadata
The text was updated successfully, but these errors were encountered: