View Issue Details

IDProjectCategoryView StatusLast Update
0005418SOGoBackend Generalpublic2021-10-29 15:33
Reportersogouser5646 Assigned Tofrancis  
PriorityurgentSeveritymajorReproducibilityalways
Status closedResolutionno change required 
Product Version5.2.0 
Summary0005418: SAML: Cannot load metadata from https://sso.mydomain.tld/api/v3/providers/saml/6/metadata/?download
Description

I'm trying to integrate SoGo using SAML, but I'm always getting
"Cannot load metadata from https://sso.mydomain.tld/api/v3/providers/saml/6/metadata/?download"

Steps To Reproduce
  1. Install SOGo 5.2.0

  2. Setup SAML-Provider using metadata from "/SOGo/saml2-metadata"

  3. Configure SAML2.0 in SOGo with the following values:
    SOGoAuthenticationType = saml2;
    NGImap4AuthMechanism = PLAIN;
    SOGoSAML2PrivateKeyLocation = "/etc/sogo/saml.pem";
    SOGoSAML2CertificateLocation = "/etc/sogo/saml.crt";
    SOGoSAML2IdpMetadataLocation = "https://sso.domain.tld/api/v3/providers/saml/6/metadata/?download";
    SOGoSAML2IdpPublicKeyLocation = "/etc/sogo/idp.crt";
    SOGoSAML2IdpCertificateLocation = "/etc/sogo/idp.crt";
    SOGoSAML2LoginAttribute = "mail";
    SOGoSAML2LogoutEnabled = YES;
    SOGoSAML2LogoutURL = https://sso.domain.tld;

  4. Restart SOGo

  5. check the logs

Additional Information

when I access using a webbrowser:
https://sso.mydomain.tld/api/v3/providers/saml/6/metadata/?download
it will download the correct .xml

the sogo-page doesn't load anymore.
/SOGo/saml2-metadata is working

as soon as I uncoment my AML-settings and restart sogo it's working normally.

TagsNo tags attached.

Activities

francis

francis

2021-10-29 12:45

administrator   ~0015592

SOGoSAML2IdpMetadataLocation must be a file path, not a URL.

sogouser5646

sogouser5646

2021-10-29 15:24

reporter   ~0015593

oh thank you, please close this

Issue History

Date Modified Username Field Change
2021-10-29 12:21 sogouser5646 New Issue
2021-10-29 12:45 francis Note Added: 0015592
2021-10-29 15:24 sogouser5646 Note Added: 0015593
2021-10-29 15:33 francis Assigned To => francis
2021-10-29 15:33 francis Status new => closed
2021-10-29 15:33 francis Resolution open => no change required