Skip to content

Commit 853ca63

Browse files
shishiragarwal02jShishir Agarwalclaude
authored
fix(utils): enable SSL verification by default in SDK client (#224)
Co-authored-by: Shishir Agarwal <shishir_agarwal@epam.com> Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent 196998f commit 853ca63

3 files changed

Lines changed: 3 additions & 1 deletion

File tree

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -279,6 +279,7 @@ For a full command reference, see the [Commands Documentation](docs/COMMANDS.md)
279279
Comprehensive guides are available in the `docs/` directory:
280280

281281
- **[Configuration](docs/CONFIGURATION.md)** - Setup wizard, environment variables, multi-provider profiles, manual configuration
282+
- `CODEMIE_INSECURE=1` — disable SSL verification for self-signed certs or local dev environments (SSL is on by default)
282283
- **[Commands](docs/COMMANDS.md)** - Complete command reference including analytics and workflow commands
283284
- **[Agents](docs/AGENTS.md)** - Detailed information about each agent (Claude Code, Gemini, built-in)
284285
- **[Authentication](docs/AUTHENTICATION.md)** - SSO setup, token management, enterprise authentication

docs/CONFIGURATION.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -133,6 +133,7 @@ Environment variables override config file values and are useful for CI/CD, Dock
133133
| `CODEMIE_MODEL` | Model to use | - | `claude-sonnet-4-5-20250929` |
134134
| `CODEMIE_TIMEOUT` | Request timeout in milliseconds | `300000` | `600000` |
135135
| `CODEMIE_DEBUG` | Enable debug logging | `false` | `true` |
136+
| `CODEMIE_INSECURE` | Disable SSL certificate verification (for self-signed certs or local dev only) | `false` | `1` |
136137

137138
#### AI/Run SSO Configuration
138139

src/utils/sdk-client.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ export async function getCodemieClient(quiet = false): Promise<CodeMieClient> {
8989
const client = new CodeMieClient({
9090
codemie_api_domain: credentials.apiUrl,
9191
cookies: credentials.cookies,
92-
verify_ssl: false
92+
verify_ssl: process.env.CODEMIE_INSECURE !== '1'
9393
});
9494

9595
logger.debug('CodeMieClient created with cookies', { apiUrl: credentials.apiUrl });

0 commit comments

Comments
 (0)