FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

CVS-190150_nginx_update_urllib3 by ngrozae · Pull Request #4380 · openvinotoolkit/model_server · GitHub

CVS-190150_nginx_update_urllib3 - #4380

Open
ngrozae wants to merge 1 commit into
mainfrom
CVS-190150_nginx_update_urllib3
Open

CVS-190150_nginx_update_urllib3#4380
ngrozae wants to merge 1 commit into
mainfrom
CVS-190150_nginx_update_urllib3

Conversation

ngrozae commented Jul 16, 2026

Copy link
Copy Markdown
Collaborator

🛠 Summary

CVS-190150 - nginx update for urllib3 > 2

🧪 Checklist

  • Unit tests added.
  • The documentation updated.
  • Change follows security best practices.
    ``

Copilot AI review requested due to automatic review settings July 16, 2026 15:40

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

Pull request overview

This PR updates the nginx mTLS auth helper script to generate a localhost server certificate that includes a Subject Alternative Name (SAN), addressing stricter hostname verification behavior (e.g., clients using urllib3 >= 2 that no longer rely on CN alone).

Changes:

  • Add SAN (DNS:localhost and IP:127.0.0.1) to the self-signed server certificate generated by openssl req -x509.
  • Improve compatibility with modern TLS client validation that requires SAN for hostname/IP matching.

echo "WARNING: For development and testing only. Please follow your organization security practices on handling and distribution of cryptography material."
echo "===================================================================================================================================================="
openssl req -x509 -nodes -days 1 -newkey rsa:4096 -keyout server.key -out server.pem -subj "/C=US/CN=localhost"
openssl req -x509 -nodes -days 1 -newkey rsa:4096 -keyout server.key -out server.pem -subj "/C=US/CN=localhost" -addext "subjectAltName=DNS:localhost,IP:127.0.0.1"

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

OpenSSL 1.0.2 and 1.1.0 had end of life in 2019. Comment is not relevant in our case.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants


Back | FazBrowse Home | New Git URL