spec-kit icon indicating copy to clipboard operation
spec-kit copied to clipboard

Option to disable SSL verification

Open norm2782 opened this issue 1 year ago • 5 comments

On our corporate network I run into SSL verification issues on the httpx.get calls. I have to add verify=False to the httpx.get calls to get Specify to work. I'd like to request a --ssl-no-verify flag or support for a SPECIFY_SSL_NO_VERIFY environmental variable that would govern the verify parameter to httpx.get.

norm2782 avatar Sep 08 '25 05:09 norm2782

Alternatively/additionally, enable support for SSL_CERT_FILE and SSL_CERT_DIR (see https://www.python-httpx.org/advanced/ssl/):

# Use `SSL_CERT_FILE` or `SSL_CERT_DIR` if configured.
# Otherwise default to certifi.
ctx = ssl.create_default_context(
    cafile=os.environ.get("SSL_CERT_FILE", certifi.where()),
    capath=os.environ.get("SSL_CERT_DIR"),
)
client = httpx.Client(verify=ctx)

norm2782 avatar Sep 08 '25 06:09 norm2782

Alternatively, you try using --skip-tls flag to skip ssl/tls verification as below - uvx --from git+https://github.com/github/spec-kit.git specify init --skip-tls <PROJECT_NAME>

ramusbucket avatar Sep 11 '25 21:09 ramusbucket

Took a while for me to try --skip-tls. It doesn't work for me it seems.

norm2782 avatar Oct 21 '25 07:10 norm2782

This issue has been automatically marked as stale because it has not had any activity for 150 days. It will be closed in 30 days if no further activity occurs.

github-actions[bot] avatar Apr 03 '26 14:04 github-actions[bot]

This issue has been automatically closed due to inactivity (180 days total). If you believe this issue is still relevant, please reopen it or create a new issue.

github-actions[bot] avatar May 06 '26 00:05 github-actions[bot]