Option to disable SSL verification
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.
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)
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>
Took a while for me to try --skip-tls. It doesn't work for me it seems.
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.
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.