[GH-ISSUE #2102] ssl_client_certificate #1517

Closed
opened 2026-02-26 07:31:23 +03:00 by kerem · 4 comments
Owner

Originally created by @aaronbolton on GitHub (Jun 9, 2022).
Original GitHub issue: https://github.com/NginxProxyManager/nginx-proxy-manager/issues/2102

I would like the ability to use client certificate authentication so I believe I need to add

ssl_client_certificate /etc/nginx/client_certs/ca.crt;

and the relevant ca.crt to my trusted CA where would be the best Custom Nginx Config to place this and also would this be a consideration for the UI at some point?

Originally created by @aaronbolton on GitHub (Jun 9, 2022). Original GitHub issue: https://github.com/NginxProxyManager/nginx-proxy-manager/issues/2102 I would like the ability to use client certificate authentication so I believe I need to add `ssl_client_certificate /etc/nginx/client_certs/ca.crt;` and the relevant ca.crt to my trusted CA where would be the best Custom Nginx Config to place this and also would this be a consideration for the UI at some point?
kerem 2026-02-26 07:31:23 +03:00
Author
Owner

@poaudet commented on GitHub (Jun 30, 2022):

Hi Aaron,

It isn't perfect, quite manual, but I managed to do this by adding in each proxy host, in the advanced tab, the lines you provide.

Screenshot_20220630-074357_Chrome

Hope this help you or another!

EDIT: I've just looked the advanced setup guide and you can add it in custom conf.d if you want to have it on each proxy

https://nginxproxymanager.com/advanced-config/#custom-nginx-configurations

<!-- gh-comment-id:1171118159 --> @poaudet commented on GitHub (Jun 30, 2022): Hi Aaron, It isn't perfect, quite manual, but I managed to do this by adding in each proxy host, in the advanced tab, the lines you provide. ![Screenshot_20220630-074357_Chrome](https://user-images.githubusercontent.com/32226407/176669297-c09ddde5-3a17-44a0-b0f7-5b37e9d03439.jpg) Hope this help you or another! EDIT: I've just looked the advanced setup guide and you can add it in custom conf.d if you want to have it on each proxy [https://nginxproxymanager.com/advanced-config/#custom-nginx-configurations](https://nginxproxymanager.com/advanced-config/#custom-nginx-configurations)
Author
Owner

@aaronbolton commented on GitHub (Jun 30, 2022):

Does this keep the setting between updates then? as I found I can go in to each and change and random setting on/off then it fixes it for that host

<!-- gh-comment-id:1171206140 --> @aaronbolton commented on GitHub (Jun 30, 2022): Does this keep the setting between updates then? as I found I can go in to each and change and random setting on/off then it fixes it for that host
Author
Owner

@poaudet commented on GitHub (Jun 30, 2022):

If you have set your volume to be persistent (eg: you have a folder on your host to store your /data/ folder from the container) you should be good!

see Quick Setup:

version: '3'
services:
  app:
    image: 'jc21/nginx-proxy-manager:latest'
    restart: unless-stopped
    ports:
      - '80:80'
      - '81:81'
      - '443:443'
    volumes:
      - ./data:/data
      - ./letsencrypt:/etc/letsencrypt
<!-- gh-comment-id:1171633835 --> @poaudet commented on GitHub (Jun 30, 2022): If you have set your volume to be persistent (eg: you have a folder on your host to store your /data/ folder from the container) you should be good! see Quick Setup: ``` version: '3' services: app: image: 'jc21/nginx-proxy-manager:latest' restart: unless-stopped ports: - '80:80' - '81:81' - '443:443' volumes: - ./data:/data - ./letsencrypt:/etc/letsencrypt ```
Author
Owner

@aaronbolton commented on GitHub (Jul 1, 2022):

Ah thanks for the comment i was getting mixed up with a bug I had also raised, thankyou for the tip

<!-- gh-comment-id:1172037215 --> @aaronbolton commented on GitHub (Jul 1, 2022): Ah thanks for the comment i was getting mixed up with a bug I had also raised, thankyou for the tip
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/nginx-proxy-manager-NginxProxyManager#1517
No description provided.