Skip to content

Key generator#189

Open
aludra1809 wants to merge 11 commits into
patterniha:mainfrom
aludra1809:key-generator
Open

Key generator#189
aludra1809 wants to merge 11 commits into
patterniha:mainfrom
aludra1809:key-generator

Conversation

@aludra1809

Copy link
Copy Markdown

Added Linux key generator, Xray core download bash script, and updated README.md with Linux connection instructions.

…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.
@aludra1809

Copy link
Copy Markdown
Author

updated version for linux

@aludra1809 aludra1809 closed this Jun 24, 2026
@aludra1809 aludra1809 reopened this Jun 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant