Allow for custom CA/self signed certificates
See original GitHub issueDescription
I run my own CA in my lab, and as a result, homarr
throws errors when it tries to integrated with services like Sonarr and Radarr:
RequestError: unable to get local issuer certificate
at ClientRequest.<anonymous> (file:///app/node_modules/got/dist/source/core/index.js:760:107)
at Object.onceWrapper (node:events:642:26)
at ClientRequest.emit (node:events:539:35)
at TLSSocket.socketErrorListener (node:_http_client:454:9)
at TLSSocket.emit (node:events:527:28)
at emitErrorNT (node:internal/streams/destroy:157:8)
at emitErrorCloseNT (node:internal/streams/destroy:122:3)
at processTicksAndRejections (node:internal/process/task_queues:83:21)
at TLSSocket.onConnectSecure (node:_tls_wrap:1532:34)
at TLSSocket.emit (node:events:527:28)
at TLSSocket._finishInit (node:_tls_wrap:946:8)
at TLSWrap.ssl.onhandshakedone (node:_tls_wrap:727:12)
It would be a nice to be able to add a custom CA certificate, or at a minimum, disable the strict certificate verifiction (i.e. accept any certificate, as long as it’s valid).
Priority
Medium (Would be very useful)
Please tick the boxes
- You’ve read the docs
- You’ve checked for duplicate issues
Issue Analytics
- State:
- Created a year ago
- Comments:6 (3 by maintainers)
Top Results From Across the Web
Adding the self-signed certificate as trusted to a browser
Open the Certificates management console, and then run the following command: certmgr. · In the tree pane, select Trusted Root Certification Authorities > ......
Read more >Enabling SSL using a self-signed certificate—Documentation ...
This topic shows you how you can enable SSL for ArcGIS Server using a self-signed certificate. The following steps enable SSL using a...
Read more >What is a Self-Signed Certificate? Advantages, Risks ...
While self-signed certificates allow developers to obtain certificates quickly and easily, they often circumvent the policies you've put in ...
Read more >How To Create Self-Signed Certificates Using OpenSSL
In this guide, we have given step-by-step guides on how to create self-signed certificates using the OpenSSL utility.
Read more >How to Create Your Own SSL Certificate Authority for Local ...
Enable your root certificate under “ENABLE FULL TRUST FOR ROOT CERTIFICATES”. iOS Trust Certificate Settings. #Creating CA-Signed Certificates ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
This might be a good idea to add as an Environment variable. That way it can easily be toggled.
If you are using docker-compose.yml you can try adding this into the homarr block:
command: 'yarn config set "strict-ssl" false -g'