# No CRL check is happening when connecting via websockets with revoked client certificate

**URL:** <https://forum.cedalo.com/t/no-crl-check-is-happening-when-connecting-via-websockets-with-revoked-client-certificate/971>\
**Category:** Security\
**Created:** [April 18, 2024, 7:44am UTC](https://forum.cedalo.com/t/no-crl-check-is-happening-when-connecting-via-websockets-with-revoked-client-certificate/971 "2024-04-18T07:44:21Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![simplementos](https://avatars.discourse-cdn.com/v4/letter/s/6f9a4e/32.png) [@simplementos](https://forum.cedalo.com/u/simplementos)\
**Post date:** [April 18, 2024, 7:44am UTC](https://forum.cedalo.com/t/no-crl-check-is-happening-when-connecting-via-websockets-with-revoked-client-certificate/971/1 "2024-04-18T07:44:21Z")

</div>

I have such mosquitto configuration:

log\_type error  
log\_type warning  
log\_type notice  
log\_type information  
log\_dest file /logpath

listener 9005  
protocol websockets  
cafile /cafilepath

certfile /certfilepath

keyfile /keyfilepath

crlfile /crlfilepath

require\_certificate true

use\_identity\_as\_username true

When i connect to local mosquitto using client certificates which are revoked, no CRL check by mosquitto is happening.

If I change configuration protocol to just mqtt, CRL check works.

So, 1) My configuration could be wrong, and something is missing for configuring CRL check via websockets  
2) CRL check via websockets doesn’t work in mosquitto

Have anyone bumped into this issue?

---

<div class="post-metadata">

**Author:** ![roger.light](https://avatars.discourse-cdn.com/v4/letter/r/838e76/32.png) [@roger.light](https://forum.cedalo.com/u/roger.light)\
**Post date:** [April 18, 2024, 12:37pm UTC](https://forum.cedalo.com/t/no-crl-check-is-happening-when-connecting-via-websockets-with-revoked-client-certificate/971/2 "2024-04-18T12:37:12Z")

</div>

Hi,

Unfortunately libwebsockets, the library that mosquitto 2.0 uses for websockets support, doesn’t support CRL checks.

This will change in 2.1 when websockets is handled by mosquitto itself.

Regards,

Roger

---

<div class="post-metadata">

**Author:** ![simplementos](https://avatars.discourse-cdn.com/v4/letter/s/6f9a4e/32.png) [@simplementos](https://forum.cedalo.com/u/simplementos)\
**Post date:** [April 18, 2024, 1:07pm UTC](https://forum.cedalo.com/t/no-crl-check-is-happening-when-connecting-via-websockets-with-revoked-client-certificate/971/3 "2024-04-18T13:07:30Z")

</div>

Thanks Roger, now I can move on and live in peace.

Have a nice one!

---

<div class="post-metadata">

**Author:** ![simplementos](https://avatars.discourse-cdn.com/v4/letter/s/6f9a4e/32.png) [@simplementos](https://forum.cedalo.com/u/simplementos)\
**Post date:** [April 18, 2024, 1:12pm UTC](https://forum.cedalo.com/t/no-crl-check-is-happening-when-connecting-via-websockets-with-revoked-client-certificate/971/4 "2024-04-18T13:12:31Z")

</div>

Also, by any chance, do you know when v2.1 is scheduled?
