# Exchange Integration does not work

**URL:** https://community.zammad.org/t/exchange-integration-does-not-work/13991
**Category:** Technical assistance
**Created:** [April 16, 2024, 1:05pm UTC](https://community.zammad.org/t/exchange-integration-does-not-work/13991 "2024-04-16T13:05:30Z")
**Posts on this page:** 10
**Page:** 1

<div class="post-metadata">

### Author: ![schzben](https://community.zammad.org/letter_avatar_proxy/v4/letter/s/b2d939/32.png) [@schzben](https://community.zammad.org/u/schzben)
#### Post date: [April 16, 2024, 1:05pm UTC](https://community.zammad.org/t/exchange-integration-does-not-work/13991/1 "2024-04-16T13:05:30Z")

</div>

### Infos:

- Used Zammad version: 6.2.0-58
- Used Zammad installation type: docker-compose
- Operating system: Debian 12
- Browser + version:  
MS Edge (v 123.0.2420.81)  
Google Chrome (v 123.0.6312.106)

* * *

Hello, we got the following Issue:

We tried to enable the Exchange Integration for the purpes to sync the Contact between Exchange an ZAmmad.  
After the Setup of the assignments, we got the following Issue:

 ![image](https://community.zammad.org/uploads/default/original/2X/d/d151b237304f15da294291cd0b7b28581d60f3fc.png)

Error Message:  
undefined method `source’ for nil:NilClass return if !%r{^Ldap::(\d+)$}.match?(user.source) ^^^^^^^

- Does anybody had the same Issue?
- We are using an OnPrem Exchange 2019 with the latest CU 14

---

<div class="post-metadata">

### Author: ![schzben](https://community.zammad.org/letter_avatar_proxy/v4/letter/s/b2d939/32.png) [@schzben](https://community.zammad.org/u/schzben)
#### Post date: [April 19, 2024, 10:51am UTC](https://community.zammad.org/t/exchange-integration-does-not-work/13991/2 "2024-04-19T10:51:18Z")

</div>

Hello again,

we did an Update to the Version 6.3 and now the Error Message locks like this:

![image](https://community.zammad.org/uploads/default/original/2X/c/ce07ab8a6714e0161021d13305329d8fe2280903.png)

Any Idea’s ?

---

<div class="post-metadata">

### Author: ![MrGeneration](https://community.zammad.org/user_avatar/community.zammad.org/mrgeneration/32/9260_2.png) [@MrGeneration](https://community.zammad.org/u/MrGeneration)
#### Post date: [May 23, 2024, 4:27pm UTC](https://community.zammad.org/t/exchange-integration-does-not-work/13991/3 "2024-05-23T16:27:30Z")

</div>

Do you happen to have a full log output?  
The rails container log output should be perfect for this.

---

<div class="post-metadata">

### Author: ![schzben](https://community.zammad.org/letter_avatar_proxy/v4/letter/s/b2d939/32.png) [@schzben](https://community.zammad.org/u/schzben)
#### Post date: [May 28, 2024, 12:38pm UTC](https://community.zammad.org/t/exchange-integration-does-not-work/13991/4 "2024-05-28T12:38:04Z")

</div>

Hello,

thx 4 your reply. Here is an output of the railsserver during the connection Test.

_zammad-railsserver\_1 | I, [2024-05-28T12:33:41.067962#49-151540] INFO – : Started POST “/api/v1/integration/exchange/autodiscover” for 172.30.0.1 at 2024-05-28 12:33:41 +0000_  
_zammad-railsserver\_1 | I, [2024-05-28T12:33:41.074376#49-151540] INFO – : Processing by Integration::ExchangeController#autodiscover as JSON_  
_zammad-railsserver\_1 | I, [2024-05-28T12:33:41.074451#49-151540] INFO – : Parameters: {“endpoint”=\>“[https://xxx.yyy.zzz/ews/exchange.asmx](https://xxx.yyy.zzz/ews/exchange.asmx)”, “user”=\>“zammad”, “password”=\>"[FILTERED]_  
_"}_  
_zammad-railsserver\_1 | I, [2024-05-28T12:33:41.102558#49-151540] INFO – : Completed 200 OK in 28ms (Views: 0.2ms | ActiveRecord: 5.8ms | Allocations: 6145)_  
_zammad-railsserver\_1 | I, [2024-05-28T12:33:41.115905#49-150120] INFO – : Started POST “/api/v1/integration/exchange/folders” for 172.30.0.1 at 2024-05-28 12:33:41 +0000_  
_zammad-railsserver\_1 | I, [2024-05-28T12:33:41.120947#49-150120] INFO – : Processing by Integration::ExchangeController#folders as JSON_  
_zammad-railsserver\_1 | I, [2024-05-28T12:33:41.121019#49-150120] INFO – : Parameters: {“auth\_type”=\>“basic”, “endpoint”=\>“[https://xxx.yyy.zzz/ews/exchange.asmx](https://xxx.yyy.zzz/ews/exchange.asmx)”, “user”=\>“zammad”, "_  
_password"=\>“[FILTERED]”}_  
_zammad-railsserver\_1 | E, [2024-05-28T12:33:41.209475#49-150120] ERROR – : Digest initialization failed: initialization error (OpenSSL::Digest::DigestError)_  
_zammad-railsserver\_1 | lib/sequencer/unit/exchange/connection.rb:106:in `post'* *zammad-railsserver_1 | lib/import/exchange/folder.rb:57:in `request\_children’_  
_zammad-railsserver\_1 | lib/import/exchange/folder.rb:36:in `block in children'* *zammad-railsserver_1 | lib/import/exchange/folder.rb:36:in `map’_  
_zammad-railsserver\_1 | lib/import/exchange/folder.rb:36:in `children'* *zammad-railsserver_1 | lib/import/exchange/folder.rb:30:in `all’_  
_zammad-railsserver\_1 | lib/import/exchange/folder.rb:16:in `id_folder_map'* *zammad-railsserver_1 | lib/sequencer/unit/exchange/folders/id_path_map.rb:15:in `block in process’_  
_zammad-railsserver\_1 | lib/sequencer/state.rb:43:in `provide'* *zammad-railsserver_1 | lib/sequencer/unit/exchange/folders/id_path_map.rb:10:in `process’_  
_zammad-railsserver\_1 | lib/sequencer/unit/base.rb:247:in `process'* *zammad-railsserver_1 | lib/sequencer.rb:76:in `block (4 levels) in process’_  
_zammad-railsserver\_1 | lib/mixin/start\_finish\_logger.rb:9:in `log_start_finish'* *zammad-railsserver_1 | lib/sequencer.rb:75:in `block (3 levels) in process’_  
_zammad-railsserver\_1 | lib/sequencer/state.rb:151:in `process'* *zammad-railsserver_1 | lib/sequencer.rb:73:in `block (2 levels) in process’_  
_zammad-railsserver\_1 | lib/sequencer/units.rb:27:in `block in each'* *zammad-railsserver_1 | lib/sequencer/units.rb:26:in `each’_  
_zammad-railsserver\_1 | lib/sequencer/units.rb:26:in `each'* *zammad-railsserver_1 | lib/sequencer.rb:71:in `each\_with\_index’_  
_zammad-railsserver\_1 | lib/sequencer.rb:71:in `block in process'* *zammad-railsserver_1 | lib/mixin/start_finish_logger.rb:9:in `log\_start\_finish’_  
_zammad-railsserver\_1 | lib/sequencer.rb:69:in `process'* *zammad-railsserver_1 | lib/sequencer.rb:24:in `process’_  
_zammad-railsserver\_1 | app/controllers/integration/exchange\_controller.rb:42:in `block in folders'* *zammad-railsserver_1 | app/controllers/concerns/integration/import_job_base.rb:45:in `answer\_with’_  
_zammad-railsserver\_1 | app/controllers/integration/exchange\_controller.rb:41:in `folders'* *zammad-railsserver_1 | app/controllers/application_controller/has_download.rb:17:in `block (4 levels) in module:HasDownload’_  
_zammad-railsserver\_1 | app/controllers/application\_controller/has\_download.rb:16:in `block (3 levels) in <module:HasDownload>'* *zammad-railsserver_1 | app/controllers/application_controller/has_download.rb:15:in `block (2 levels) in module:HasDownload’_  
_zammad-railsserver\_1 | app/controllers/application\_controller/handles\_transitions.rb:16:in `handle\_transaction’_  
_zammad-railsserver\_1 | I, [2024-05-28T12:33:41.215666#49-150120] INFO – : Completed 200 OK in 94ms (Views: 1.0ms | ActiveRecord: 5.7ms | Allocations: 8939)_  
_zammad-railsserver\_1 | I, [2024-05-28T12:33:43.433472#49-151660] INFO – : Started GET “/api/v1/integration/exchange/job\_start?\_=1716899347395” for 172.30.0.1 at 2024-05-28 12:33:43 +0_  
_000_  
_zammad-railsserver\_1 | I, [2024-05-28T12:33:43.440840#49-151660] INFO – : Processing by Integration::ExchangeController#job\_start\_index as JSON_  
_zammad-railsserver\_1 | I, [2024-05-28T12:33:43.440926#49-151660] INFO – : Parameters: {“\_”=\>“1716899347395”}_  
_zammad-railsserver\_1 | I, [2024-05-28T12:33:43.470107#49-151660] INFO – : Completed 200 OK in 29ms (Views: 0.2ms | ActiveRecord: 8.3ms | Allocations: 5400)_

---

<div class="post-metadata">

### Author: ![MrGeneration](https://community.zammad.org/user_avatar/community.zammad.org/mrgeneration/32/9260_2.png) [@MrGeneration](https://community.zammad.org/u/MrGeneration)
#### Post date: [May 28, 2024, 1:48pm UTC](https://community.zammad.org/t/exchange-integration-does-not-work/13991/5 "2024-05-28T13:48:15Z")

</div>

> [@schzben](#):
>
> zammad-railsserver\_1 | E, [2024-05-28T12:33:41.209475#49-150120] ERROR – : Digest initialization failed: initialization error (OpenSSL::Digest::DigestError)

That is your problem.  
Ensure to have a proper and strong SSL configuration on your exchange (which by default is anything but that). Also the cipher suite does have to cover what your client (Zammad in that case) expects.

---

<div class="post-metadata">

### Author: ![schzben](https://community.zammad.org/letter_avatar_proxy/v4/letter/s/b2d939/32.png) [@schzben](https://community.zammad.org/u/schzben)
#### Post date: [May 29, 2024, 7:10am UTC](https://community.zammad.org/t/exchange-integration-does-not-work/13991/6 "2024-05-29T07:10:43Z")

</div>

Hello,

Thank you for the explanation. Can you tell me what requirements the exchange and the chiper should have.

---

<div class="post-metadata">

### Author: ![MrGeneration](https://community.zammad.org/user_avatar/community.zammad.org/mrgeneration/32/9260_2.png) [@MrGeneration](https://community.zammad.org/u/MrGeneration)
#### Post date: [July 4, 2024, 9:49pm UTC](https://community.zammad.org/t/exchange-integration-does-not-work/13991/7 "2024-07-04T21:49:49Z")

</div>

The supported ciphers strongly depend on your operating system that Zammad runs on. Usually the private key nowadays needa at least a size of 2048 Bit - the default used to be 1024 for Windows servers for a very long time.

---

<div class="post-metadata">

### Author: ![schzben](https://community.zammad.org/letter_avatar_proxy/v4/letter/s/b2d939/32.png) [@schzben](https://community.zammad.org/u/schzben)
#### Post date: [August 21, 2024, 8:39am UTC](https://community.zammad.org/t/exchange-integration-does-not-work/13991/8 "2024-08-21T08:39:38Z")

</div>

Hello,

any News or further Idea’s?

We looked in the Exchange requirements and there is no hint about the Details of the Integration.

[Exchange — Zammad Admin Documentation documentation](https://admin-docs.zammad.org/en/latest/system/integrations/exchange.html)

---

<div class="post-metadata">

### Author: ![MrGeneration](https://community.zammad.org/user_avatar/community.zammad.org/mrgeneration/32/9260_2.png) [@MrGeneration](https://community.zammad.org/u/MrGeneration)
#### Post date: [August 21, 2024, 10:07am UTC](https://community.zammad.org/t/exchange-integration-does-not-work/13991/9 "2024-08-21T10:07:10Z")

</div>

> [@schzben](#):
>
> any News or further Idea’s?

You did provided zero feedback on my response.

> [@MrGeneration](#):
>
> The supported ciphers strongly depend on your operating system that Zammad runs on. Usually the private key nowadays needa at least a size of 2048 Bit - the default used to be 1024 for Windows servers for a very long time.

---

<div class="post-metadata">

### Author: ![system](https://community.zammad.org/uploads/default/original/1X/5c5afaea2d23f811dbec33cd4edb02fa29d3262f.png) [@system](https://community.zammad.org/u/system)
#### Post date: [August 16, 2025, 10:07am UTC](https://community.zammad.org/t/exchange-integration-does-not-work/13991/10 "2025-08-16T10:07:31Z")

</div>

This topic was automatically closed 360 days after the last reply. New replies are no longer allowed.
