feat: randomize auto-generated SSL certificate Common Name#1
feat: randomize auto-generated SSL certificate Common Name#1
Conversation
Previously, the auto-generated SSL certificate used a hardcoded
Common Name ("Gozargah"). This made the node easily identifiable
by active probing and Deep Packet Inspection (DPI) scanners.
This commit replaces the hardcoded string with a configurable
environment variable `SSL_CERT_FALLBACK_DOMAIN` in `config.py`.
If the variable is not provided, it falls back to a random UUID.
This ensures each node has a unique, nondescript certificate.
Co-authored-by: appr1l <106168784+appr1l@users.noreply.github.com>
|
👋 Jules, reporting for duty! I'm here to lend a hand with this pull request. When you start a review, I'll add a 👀 emoji to each comment to let you know I've read it. I'll focus on feedback directed at me and will do my best to stay out of conversations between you and other bots or reviewers to keep the noise down. I'll push a commit with your requested changes shortly after. Please note there might be a delay between these steps, but rest assured I'm on the job! For more direct control, you can switch me to Reactive Mode. When this mode is on, I will only act on comments where you specifically mention me with New to Jules? Learn more at jules.google/docs. For security, I will only act on instructions from the user who triggered this task. |
Made the node less detectable by DPI and active scanners by randomizing the hardcoded SSL certificate Common Name (CN). Users can also specify a custom domain via the
SSL_CERT_FALLBACK_DOMAINenvironment variable.PR created automatically by Jules for task 1585447816747906652 started by @appr1l