Snipe-it -Docker SSL #13484
Replies: 3 comments 2 replies
-
Hi! |
Beta Was this translation helpful? Give feedback.
-
hi! unfortunately no, it's not possible to solve it.
…On Sun, Sep 10, 2023, 3:24 PM nellman-One ***@***.***> wrote:
Hi!
I have the same issue.
Did you get this to work properly?
—
Reply to this email directly, view it on GitHub
<#13484 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AP6FSB7PX72MGKNCZ7CWWDDXZWWPTANCNFSM6AAAAAA3T52XNQ>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
I figured out how to fix this, and I noticed that some other people were having issues terminating SSL at snipe instead of using a reverse proxy (RP). Below are the steps I took to fix this issue.
After all that, you should be able to bring up the container and have your port 443 serving HTTPS with your certificate. If you've already set up SnipeIT to use a reverse proxy, or are just using it via HTTP, you will have to blow away your image and volumes and start over. Make sure to back up your data before doing this, so you can restore it later. The reason for removing the image is that the image will be re-created using the "Dockerfile" dockerfile, instead of the "Dockerfile.alpine" dockerfile. The reason for removing the volumes is that some things in the volume reference the old port you were using. This will cause some JavaScript and CSS to not load properly until it's changed to the new port. Finally, make sure that in your .env.docker file, you change the APP_URL value to the new "https" version of your snipe instance. |
Beta Was this translation helpful? Give feedback.
-
can't understand how to connect ssl correctly.
I have *****.cer ******.key files which I have placed in /var/lib/snipeit/ssl
and I don't really understand what to do next!?!?!
At the moment, the page worked for me as http://, but I need https://
this is my docker-compose.yml
and my emv.docker
APP_URL= I tried to change https://
but of course without results. what should I do and where should I complete so that I can finally start working on https?
Beta Was this translation helpful? Give feedback.
All reactions