[GH-ISSUE #3791] Cannot read property '1' of null - signed with windows ca #2496

Closed
opened 2026-02-26 07:35:46 +03:00 by kerem · 1 comment
Owner

Originally created by @tomse on GitHub (Jun 4, 2024).
Original GitHub issue: https://github.com/NginxProxyManager/nginx-proxy-manager/issues/3791

Checklist

  • Have you pulled and found the error with jc21/nginx-proxy-manager:latest docker image?
    • Yes
  • Are you sure you're not using someone else's docker image?
    • Yes
  • Have you searched for similar issues (both open and closed)?
    • Yes

Describe the bug

ref bug #1013 It's pretty old so won't stir up an old pot.

trying to use custom SSL certs, signed by Windows AD CA. I'm getting the same error

but forcecn mentioned in #1013 should only be checked if there are no cn.
since there is a cn and alternative names.. this shouldn't be a problem.

cert works perfectly in production on an nginx web server

Nginx Proxy Manager Version

2.11.2

To Reproduce
Steps to reproduce the behavior:

  1. create key using openssl
  2. create signing request with defaults and CN, subjectAltName (IP.1, DNS.1, DNS.2) filled out
  3. sign using windows ca
  4. upload cert + key to npm
  5. see error

Expected behavior

acceptance of ssl cert

Screenshots

Operating System

Using Windows to upload cert

Additional context

Originally created by @tomse on GitHub (Jun 4, 2024). Original GitHub issue: https://github.com/NginxProxyManager/nginx-proxy-manager/issues/3791 <!-- Are you in the right place? - If you are looking for support on how to get your upstream server forwarding, please consider asking the community on Reddit. - If you are writing code changes to contribute and need to ask about the internals of the software, Gitter is the best place to ask. - If you think you found a bug with NPM (not Nginx, or your upstream server or MySql) then you are in the *right place.* --> **Checklist** - Have you pulled and found the error with `jc21/nginx-proxy-manager:latest` docker image? - Yes - Are you sure you're not using someone else's docker image? - Yes - Have you searched for similar issues (both open and closed)? - Yes **Describe the bug** <!-- A clear and concise description of what the bug is. --> ref bug #1013 It's pretty old so won't stir up an old pot. trying to use custom SSL certs, signed by Windows AD CA. I'm getting the same error but forcecn mentioned in #1013 should only be checked if there are no cn. since there is a cn and alternative names.. this shouldn't be a problem. cert works perfectly in production on an nginx web server **Nginx Proxy Manager Version** <!-- What version of Nginx Proxy Manager is reported on the login page? --> 2.11.2 **To Reproduce** Steps to reproduce the behavior: 1. create key using openssl 2. create signing request with defaults and CN, subjectAltName (IP.1, DNS.1, DNS.2) filled out 3. sign using windows ca 4. upload cert + key to npm 5. see error **Expected behavior** <!-- A clear and concise description of what you expected to happen. --> acceptance of ssl cert **Screenshots** <!-- If applicable, add screenshots to help explain your problem. --> **Operating System** <!-- Please specify if using a Rpi, Mac, orchestration tool or any other setups that might affect the reproduction of this error. --> Using Windows to upload cert **Additional context** <!-- Add any other context about the problem here, docker version, browser version, logs if applicable to the problem. Too much info is better than too little. -->
kerem 2026-02-26 07:35:46 +03:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

@tomse commented on GitHub (Jun 7, 2024):

Adding the optional ca chain (pem) did the trick

<!-- gh-comment-id:2155252913 --> @tomse commented on GitHub (Jun 7, 2024): Adding the optional ca chain (pem) did the trick
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#2496
No description provided.