General discussion on installation and configuration of SOGo

Text archives Help

[SOGo] Issue setting up SAML2

Chronological Thread 
  • From: "Yuri Moens" ( ) < >
  • To:
  • Subject: [SOGo] Issue setting up SAML2
  • Date: Thu, 26 Oct 2017 14:41:54 +0000
  • Dmarc-filter: OpenDMARC Filter v1.2.0 A87E1FA7FD3


I'm trying to setup SAML on Sogo using Keycloak. This is my current SAML configuration

  SOGoAuthenticationType = "saml2";
  SOGoSAML2PrivateKeyLocation = "/etc/pki/tls/private/sogo-saml.key";
  SOGoSAML2CertificateLocation = "/etc/pki/tls/certs/sogo-saml.crt";
  SOGoSAML2IdpMetadataLocation = "/etc/sogo/idp-metadata.xml";
  SOGoSAML2IdpPublicKeyLocation = "/etc/pki/tls/certs/idp.crt";
  SOGoSAML2IdpCertificateLocation = "/etc/pki/tls/certs/idp.crt";
  SOGoSAML2LoginAttribute = "username";
  SOGoSAML2LogoutEnabled = false;
  SOGoSAML2LogoutURL = "http://mail.local.lab";

but whenever I try to visit the webinterface I get a 501 response and the following error:

2017-10-26 16:21:43.942 sogod[6807] EXCEPTION: <NSException: 0x55c92d0db8b0> NAME:NSRangeException REASON:Trying to remove from an empty array. INFO:(null)

I tried enabling all the debug options as well but that's all the info I get so I have no idea what array it's referring to. Using gdb to debug it made me non the wiser neither. Does anyone else have any idea to get past this error? If I comment out all the SAML configuration the page just loads and I can login with my LDAP users.


  • [SOGo] Issue setting up SAML2, Yuri Moens, 10/26/2017

Archive powered by MHonArc 2.6.18.

Top of page