Key generator#189
Open
aludra1809 wants to merge 11 commits into
Open
Conversation
…ficates This script automates the creation of self-signed SSL certificates and private keys using OpenSSL. It checks prerequisites, avoids overwriting existing files, and produces certificates valid for one year by default. Usage: `./key-generator.sh`
…ation Include the Xray executable, geoip.dat, geosite.dat, LICENSE (MPL-2.0), and README.md from the Xray-core project. These assets are required for the VPN/proxy configuration to function correctly with routing rules and geolocation filtering.
…y-core download into single script The script now handles both self-signed SSL certificate creation and Xray-core binary download with improved error handling, proxy support, and overwrite confirmation. Key changes include: - Integrated Xray-core download logic with retries and source fallback - Added ZIP validation and extraction - Enhanced certificate generation with overwrite prompts - Improved logging with color-coded status messages - Fixed certificate output paths to avoid conflicts
…pt directory The certificate and key files were previously created relative to the current working directory, causing failures when the script is run from a different location. Now paths are resolved relative to the script's own directory using `$0`, ensuring output lands in the expected location regardless of invocation context.
Update the certificate and key file paths in MITM-DomainFronting.json to match the script directory structure, ensuring certificates are found when running from the script's parent directory.
Author
|
updated version for linux |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Added Linux key generator, Xray core download bash script, and updated README.md with Linux connection instructions.