-
Notifications
You must be signed in to change notification settings - Fork 53
Add SSL/TLS Support for Secure SaltGUI Deployment #743
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
Add SSL/TLS Support for Secure SaltGUI Deployment #743
Conversation
|
@intekhab1025 My proposal is to simplify the code, roughly like this:
My further proposal is that I make these changes myself for the following reasons:
|
@erwindon - This makes sense, I went ahead and addressed first part of comments. Also readme has been updated with instruction. |
|
well done! I wanted to split The review so far is only based on the text of the PR. I may add more comments/requests when I'm testing this. |
|
@intekhab1025
Please also look into the remaining review comments. |
|
Yes will check them out, my plan is to address all by this week |
0c93638 to
69b8a69
Compare
|
@intekhab1025 |
|
@intekhab1025 The existing docker-compose set is used from shell script Therefore, I want to add the following 2 files: file and file |
|
Please make sure that you can run SaltGUI with TLS with your supplied docker compose file with at least the following steps:
|
@erwindon - I have fixed the issue so https://localhost:3334 works now, see the attached snapshot. Also I have updated the build script to make it platform independent. |
Done |
|
|
Accidentally, I closed the PR but it should be good to go now @erwindon |
|
Ok, nice work! the docker-compose-set with tls is indeed working nicely. but I have problems with the change:
I foresee that it will take (too) many iterations to get this right. |
I see, appreciate your help. Let me know if you would like me to instead clean up that, i can have a look tomorrow. |
45ea1e0 to
33105c6
Compare
@erwindon - I have cleaned up , squashed all commits and rebased. Please check now |
|
OK! almost there, and less work for me. just one more detail: note that I have the following followup-changes in mind:
|
da23b77 to
7087700
Compare
Okay, good catch, fixed the indentation. |
7087700 to
0b0fd9f
Compare
This commit adds comprehensive TLS support to SaltGUI with the following features: - Added TLS-enabled Docker Compose configuration (docker-compose-tls.yml) - Created saltmaster-tls Docker configuration with SSL certificates - Updated build script - Added comprehensive TLS setup documentation in README - Implemented secure HTTPS endpoint on port 3334 - Restored core files to maintain consistency with master branch The implementation allows users to run SaltGUI with full TLS encryption for secure communication between the web interface and Salt master.
0b0fd9f to
15f73ec
Compare
|
|
NOTE: I added the word "sample" to the merge commit |
|
@intekhab1025 |




This PR adds comprehensive SSL/TLS support to SaltGUI with automated setup scripts, Docker Compose configuration, and Salt state management for secure deployments.
✨ Features Added
🔐 SSL/TLS Infrastructure
Self-signed certificate generation for development/testing
Docker Compose SSL environment with HTTPS endpoints
Salt state for SSL configuration (saltgui-ssl.sls)
Automated testing script for end-to-end SSL verification
📁 New Files
generate-ssl-certs.sh - SSL certificate generation script
test-ssl-deployment.sh - Automated SSL testing
docker-compose-ssl.yml - SSL-enabled Docker environment
master-ssl - Salt master configuration for SSL
saltgui-ssl.sls - Salt state for SSL deployment