Open jennso opened 1 month ago
Thanks for opening your first issue here! Be sure to follow the relevant issue templates, or risk having this issue marked as invalid.
I figured out that the certs are located in /config/keys I installed the cert there and removed the proxy, I still get the same error, now I enabled app debug and got a bit more information on the error, on the debug screen I get "cURL error 60: SSL certificate problem: unable to get local issuer certificate" even though the cert is good in chrome it's valid and no issues there.
Any help would be greatly appreciated
For anyone having this issue, if you are using local certificated you need to add your bundleCA to the php configuration, otherwise it will check only the CAs of the container os and not the ones installed on the host machine, I made aware of my custom CA by copying it to the /config/keys place and editing the php-local.ini and adding openssl.cafile=/config/keys/ca-bundle.trust.crt after that a restart and everything is working now.
This helped me greatly thank you for sharing this solve!!
This issue has been automatically marked as stale because it has not had recent activity. This might be due to missing feedback from OP. It will be closed if no further activity occurs. Thank you for your contributions.
Is there an existing issue for this?
Current Behavior
I should get the setup page for snipe-it instead I get a error 500 SERVER ERROR when running on https behind a reverse proxy, even after setup done in http
Expected Behavior
the snipe-it setup page should load to start the app setup
Steps To Reproduce
If I don't use the reverse proxy and load the application exposing port 80 and change my app url from https to http I get the setup screen and it works, then I do all the setup and if then after the setup I enable https I get the 500 SERVER ERROR error again
Environment
CPU architecture
x86-64
Docker creation
Container logs