Skip to content

Add SSL verification options for P4 Code Review API requests#23

Open
benh57 wants to merge 1 commit intoperforce:mainfrom
benh57:feature/ssl-verify-options
Open

Add SSL verification options for P4 Code Review API requests#23
benh57 wants to merge 1 commit intoperforce:mainfrom
benh57:feature/ssl-verify-options

Conversation

@benh57
Copy link
Copy Markdown

@benh57 benh57 commented Mar 26, 2026

Add --ssl-no-verify and --ca-bundle CLI args, plus P4MCP_SSL_VERIFY and P4MCP_CA_BUNDLE environment variables, to control SSL certificate verification for P4 Code Review API connections.

This enables use in environments with self-signed or internal CA certificates without requiring pip_system_certs (which does not work in PyInstaller-frozen builds).

Priority order: CLI args > env vars > default (verify=True).

Add --ssl-no-verify and --ca-bundle CLI args, plus P4MCP_SSL_VERIFY
and P4MCP_CA_BUNDLE environment variables, to control SSL certificate
verification for P4 Code Review API connections.

This enables use in environments with self-signed or internal CA
certificates without requiring pip_system_certs (which does not work
in PyInstaller-frozen builds).

Priority order: CLI args > env vars > default (verify=True).
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