Skip to content

Commit 5c03a2c

Browse files
authored
Merge pull request #48 from opsmill/atg-20251107-bump-new
Update changelog for version 1.0.6 and add security configuration doc…
2 parents 6219144 + e500a4d commit 5c03a2c

File tree

8 files changed

+479
-4
lines changed

8 files changed

+479
-4
lines changed

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,12 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
66

77
<!-- towncrier release notes start -->
88

9+
## [1.0.6](https://github.com/opsmill/infrahub-vscode/tree/v1.0.6) - 2025-11-07
10+
11+
### Changed
12+
13+
- Use NODE_TLS_REJECT_UNAUTHORIZED environment variable instead of passing TLS options to SDK when tls_insecure is enabled. ([#46](https://github.com/opsmill/infrahub-vscode/issues/46))
14+
915
## [1.0.5](https://github.com/opsmill/infrahub-vscode/tree/v1.0.5) - 2025-11-07
1016

1117
### Added

changelog/46.changed.md

Lines changed: 0 additions & 1 deletion
This file was deleted.

docs/docs/reference/commands-settings.mdx

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,22 @@ interface ServerConfig {
6969
}
7070
```
7171

72+
#### TLS Configuration Details
73+
74+
The `tls_insecure` property controls TLS certificate verification behavior:
75+
76+
- **Default value**: `false` (secure, certificates are verified)
77+
- **When `true`**: Disables certificate verification for development environments
78+
- **Scope**: Affects all HTTPS connections when any server has this enabled
79+
- **Security impact**: Makes connections vulnerable to man-in-the-middle attacks
80+
81+
**Use cases for `tls_insecure: true`**:
82+
- Development servers with self-signed certificates
83+
- Internal testing environments with custom CA certificates
84+
- Docker containers with self-signed certificates
85+
86+
**Never use in production** as it compromises security.
87+
7288
### Example Configuration
7389

7490
```json
@@ -336,6 +352,19 @@ Planned support for VSCode's secret storage API.
336352
| Commands not appearing | Wrong context | Ensure correct tree view item is selected |
337353
| Validation not working | Missing YAML extension | Install Red Hat YAML extension |
338354
| Token not working | Incorrect format or permissions | Verify token format and permissions |
355+
| TLS certificate errors | Self-signed or invalid certificates | Add `"tls_insecure": true` for development servers |
356+
| CERT_HAS_EXPIRED | Expired SSL certificate | Renew certificate or use `tls_insecure` for dev |
357+
| SELF_SIGNED_CERT_IN_CHAIN | Self-signed certificate | Use `"tls_insecure": true` for development |
358+
359+
### TLS Error Messages
360+
361+
The extension provides specific error messages for common TLS issues:
362+
363+
- **"TLS Certificate expired - check tls_insecure setting"**: The server's certificate has expired
364+
- **"Self-signed certificate - check tls_insecure setting"**: The server uses a self-signed certificate
365+
- **"TLS Verification failed - check tls_insecure setting"**: General certificate verification failure
366+
367+
These messages appear in the server tree view when connection attempts fail due to certificate issues.
339368

340369
### Debug Output
341370

0 commit comments

Comments
 (0)