-
-
Notifications
You must be signed in to change notification settings - Fork 27
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
500 SERVER ERROR snipe-it:v7.0.9-ls287 when on https #73
Comments
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. |
This issue is locked due to inactivity |
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
The text was updated successfully, but these errors were encountered: