# Enable mTLS per resource? (middleware-manager discussion #86)

**URL:** <https://forum.hhf.technology/t/enable-mtls-per-resource-middleware-manager-discussion-86/4677>\
**Category:** Middleware Manager\
**Tags:** discussion\
**Created:** [January 29, 2026, 7:42pm UTC](https://forum.hhf.technology/t/enable-mtls-per-resource-middleware-manager-discussion-86/4677 "2026-01-29T19:42:35Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![system](https://forum.hhf.technology/user_avatar/forum.hhf.technology/system/32/6437_2.png) [@system](https://forum.hhf.technology/u/system)\
**Post date:** [January 29, 2026, 7:42pm UTC](https://forum.hhf.technology/t/enable-mtls-per-resource-middleware-manager-discussion-86/4677/1 "2026-01-29T19:42:35Z")

</div>

> 💬 **GitHub discussion [middleware-manager #86](https://github.com/hhftechnology/middleware-manager/discussions/86)** in _Q&A_, started by **`e-minguez`** on GitHub

After the latest release it seems per resource mTLS can be enabled [https://middleware-manager.hhf.technology/docs/ui-guides/security-mtls#per-resource-mtls](https://middleware-manager.hhf.technology/docs/ui-guides/security-mtls#per-resource-mtls) however I don’t see any toggle on the resource, only the global one.  
Can the documentation perhaps be improved? like adding some screenshots or something similar.  
Thanks.

* * *

💬 Join in here or [on GitHub](https://github.com/hhftechnology/middleware-manager/discussions/86).

---

<div class="post-metadata">

**Author:** ![system](https://forum.hhf.technology/user_avatar/forum.hhf.technology/system/32/6437_2.png) [@system](https://forum.hhf.technology/u/system)\
**Post date:** [January 29, 2026, 8:09pm UTC](https://forum.hhf.technology/t/enable-mtls-per-resource-middleware-manager-discussion-86/4677/2 "2026-01-29T20:09:46Z")

</div>

**`hhftechnology`** [commented on GitHub](https://github.com/hhftechnology/middleware-manager/discussions/86#discussioncomment-15643969):

> @​e-minguez  
> [External Image](https://github.com/user-attachments/assets/1338ec04-c51f-482d-9cc8-10524f076169 "Image hosted on another site. Click to open in a new tab.")  
> It will only appear if you setup everything correctly in the setup page.

---

<div class="post-metadata">

**Author:** ![system](https://forum.hhf.technology/user_avatar/forum.hhf.technology/system/32/6437_2.png) [@system](https://forum.hhf.technology/u/system)\
**Post date:** [February 22, 2026, 7:44pm UTC](https://forum.hhf.technology/t/enable-mtls-per-resource-middleware-manager-discussion-86/4677/3 "2026-02-22T19:44:28Z")

</div>

**`v1rusnl`** [commented on GitHub](https://github.com/hhftechnology/middleware-manager/discussions/86#discussioncomment-15890699):

> I cannot get it to work with my existing pangolin setup @​hhftechnology . CA is created + a client cert imported to Windows and Android. But all I get is the popup to choose the used certificate followed by an error 403 and a blank page when activating mTLS for a ressource. Do I need to do further configuration? Only thing I recognized that `./config/traefik/certs/clients` is empty.
> 
> ```auto
> pangolin-stuff...
> 
> traefik:
> command:
> - --configFile=/etc/traefik/traefik_config.yml
> container_name: traefik
> depends_on:
> pangolin:
> condition: service_healthy
> crowdsec:
> condition: service_healthy
> image: traefik:v3.6
> network_mode: service:gerbil
> restart: unless-stopped
> volumes:
> - ./config/traefik:/etc/traefik:ro
> - ./config/traefik/logs:/var/log/traefik
> - ./config/traefik/fullchain.pem:/etc/traefik/fullchain.pem:ro
> - ./config/traefik/privkey.pem:/etc/traefik/privkey.pem:ro
> - ./config/traefik/certs:/etc/traefik/certs:ro
> - ./config/traefik/certs/ca/ca.crt:/etc/traefik/certs/ca/ca.crt:ro
> middleware-manager:
> container_name: middleware-manager
> image: hhftechnology/middleware-manager:latest
> volumes:
> - ./data:/data
> - ./config/middleware-manager:/app/config
> - ./config/traefik:/etc/traefik # Must match Traefik's static config dir
> environment:
> - ACTIVE_DATA_SOURCE=pangolin
> - PANGOLIN_API_URL=http://pangolin:3001/api/v1
> - TRAEFIK_STATIC_CONFIG_PATH=/etc/traefik/traefik_config.yml # Path inside container
> - TRAEFIK_CONF_DIR=/conf
> - DB_PATH=/data/middleware.db
> - PORT=3456
> ports:
> - 127.0.0.1:3456:3456
> 
> ```
> 
> ```auto
> experimental:
> plugins:
> badger:
> moduleName: github.com/fosrl/badger
> version: v1.3.1
> crowdsec:
> moduleName: github.com/maxlerebourg/crowdsec-bouncer-traefik-plugin
> version: v1.4.6
> mtlswhitelist:
> moduleName: github.com/smerschjohann/mtlswhitelist
> version: v0.4.2
> ...
> providers:
> file:
> filename: /etc/traefik/dynamic_config.yml
> http:
> endpoint: http://middleware-manager:3456/api/v1/traefik-config
> pollInterval: 5s
> 
> ```
> 
> ```auto
> [middleware-manager] 2026-02-21T22:35:23.983821615Z 2026/02/21 22:35:23 Fetching resources from Pangolin API...
> [middleware-manager] 2026-02-21T22:35:23.990848604Z 2026/02/21 22:35:23 Fetched 27 services from Pangolin API
> [middleware-manager] 2026-02-21T22:35:24.001190602Z 2026/02/21 22:35:23 Fetched 27 resources, 27 services, 2 middlewares from Pangolin API
> [middleware-manager] 2026-02-21T22:35:27.183555311Z 2026/02/21 22:35:27 Updating mTLS config for resource a5f0a673-ee27-4f6f-9d13-0646cd9c3888: enabled=true
> [middleware-manager] 2026-02-21T22:35:27.183624309Z 2026/02/21 22:35:27 Update affected 1 rows
> [middleware-manager] 2026-02-21T22:35:27.184109350Z 2026/02/21 22:35:27 Successfully updated mTLS configuration for resource …
> ```

---

<div class="post-metadata">

**Author:** ![system](https://forum.hhf.technology/user_avatar/forum.hhf.technology/system/32/6437_2.png) [@system](https://forum.hhf.technology/u/system)\
**Post date:** [May 5, 2026, 7:49pm UTC](https://forum.hhf.technology/t/enable-mtls-per-resource-middleware-manager-discussion-86/4677/4 "2026-05-05T19:49:30Z")

</div>

**`pierinh00d`** [replied in a thread on GitHub](https://github.com/hhftechnology/middleware-manager/discussions/86#discussioncomment-16820166) to **`v1rusnl`** :

> Hi. Have you solved this issue?  
> I have the same problem.  
> I deployed Middleware Manager with Pangolin, following the “Quickstart Guide” section, Option A: Deploy with Pangolin
> 
> I installed Pangolin using the installer. The versions are:
> 
> Pangolin version 1.18.2  
> Gerbil version 1.3.1  
> Traefik version 3.6  
> Middleware-Manager latest version
> 
> I successfully installed the mtlswhitelist plugin, created the CA and the user certificate, and enabled the plugin both in the general configuration and on the resource I wanted to protect
> 
> However, it’s not working. When I access the resource, the browser doesn’t ask for the certificate and returns a 403 error.
> 
> But if I work with wget passing the certificates,it works like a charm.  
> What am I doing wrong?

---

<div class="post-metadata">

**Author:** ![system](https://forum.hhf.technology/user_avatar/forum.hhf.technology/system/32/6437_2.png) [@system](https://forum.hhf.technology/u/system)\
**Post date:** [May 6, 2026, 5:54am UTC](https://forum.hhf.technology/t/enable-mtls-per-resource-middleware-manager-discussion-86/4677/5 "2026-05-06T05:54:55Z")

</div>

**`hhftechnology`** [replied in a thread on GitHub](https://github.com/hhftechnology/middleware-manager/discussions/86#discussioncomment-16823544) to **`v1rusnl`** :

> @​pierinh00d browser will not ask for cert 403 means its working. you will have to pre install it. ping me on cord i will do a step by step.

---

<div class="post-metadata">

**Author:** ![system](https://forum.hhf.technology/user_avatar/forum.hhf.technology/system/32/6437_2.png) [@system](https://forum.hhf.technology/u/system)\
**Post date:** [May 6, 2026, 7:20am UTC](https://forum.hhf.technology/t/enable-mtls-per-resource-middleware-manager-discussion-86/4677/6 "2026-05-06T07:20:13Z")

</div>

**`pierinh00d`** [replied in a thread on GitHub](https://github.com/hhftechnology/middleware-manager/discussions/86#discussioncomment-16824241) to **`v1rusnl`** :

> Thanks @​hhftechnology I wrote a post on discord but I’ve installed p12 already. Discussion is available at [Discord](https://discord.com/channels/994247717368909884/1498955328828735558/1501479166477074482)

---

<div class="post-metadata">

**Author:** ![system](https://forum.hhf.technology/user_avatar/forum.hhf.technology/system/32/6437_2.png) [@system](https://forum.hhf.technology/u/system)\
**Post date:** [May 8, 2026, 7:40pm UTC](https://forum.hhf.technology/t/enable-mtls-per-resource-middleware-manager-discussion-86/4677/7 "2026-05-08T19:40:43Z")

</div>

**`v1rusnl`** [replied in a thread on GitHub](https://github.com/hhftechnology/middleware-manager/discussions/86#discussioncomment-16856432) to **`v1rusnl`** :

> > Hi. Have you solved this issue? I have the same problem. I deployed Middleware Manager with Pangolin, following the “Quickstart Guide” section, Option A: Deploy with Pangolin
> > 
> > I installed Pangolin using the installer. The versions are:
> > 
> > Pangolin version 1.18.2 Gerbil version 1.3.1 Traefik version 3.6 Middleware-Manager latest version
> > 
> > I successfully installed the mtlswhitelist plugin, created the CA and the user certificate, and enabled the plugin both in the general configuration and on the resource I wanted to protect
> > 
> > However, it’s not working. When I access the resource, the browser doesn’t ask for the certificate and returns a 403 error.
> > 
> > But if I work with wget passing the certificates,it works like a charm. What am I doing wrong?
> 
> No. Still not working until now.
