Unable to import new certificates when uploading metadata exported from IdP portal
3747
Created On 09/02/24 05:17 AM - Last Modified 10/17/24 21:42 PM
Symptom
- After renewing the certificate, metadata is imported without error.
- However the date on the certificate is displayed wrongly (old date).
- When checking metadata XML file, both old and new certificate is displayed.
- % less Azure_Metadata.xml| egrep "X509Certificate|ds:X509Data|SecurityTokenServiceType|ApplicationServiceType|IDPSSODescriptor" <X509Certificate>MIIC8DCCAdigAwIBAg...OLD_CERT...BPOrmadG3184X</X509Certificate> <X509Certificate>MIIC8DCCAdigAwIBAg...NEW_CERT...CmJctdchNbK9M</X509Certificate> </IDPSSODescriptor>
- req_stats.log shows the metadata that was uploaded.
- > less mp-log req_stats.log <request cmd="op" cookie="xxxxxxxx"><operations xml="yes"><upload><idp-metadata><content>********</content><name>Azure_Metadata.xml</name><profile-name>SAML_Test</profile-name><validate-idp-certificate>no</validate-idp-certificate></id
Environment
- Panorama
- Azure IDP
- SCM (Strata Cloud Manager)
Cause
The old certificate is not removed from Azure.
Resolution
The following workaround is given according to Microsoft Q & A.
- Delete the old certificate from Azure.
- Download the new metadata.
- Import it on Panorama/Strata Cloud Manager.
- Work with an Azure expert and open a support case if the issue persists after implementing the above workaround.