Skip to content

docs(testcerts): document GenerateCerts CA vs leaf output - Documentation Hunter - #40

Open
github-actions[bot] wants to merge 1 commit into
mainfrom
code-hunters/documentation-hunter/generatecerts-doc-ca-vs-leaf-5ce7c99b94836356
Open

github-actions[bot] wants to merge 1 commit into
mainfrom
code-hunters/documentation-hunter/generatecerts-doc-ca-vs-leaf-5ce7c99b94836356

Conversation

@github-actions

Copy link
Copy Markdown
Contributor

GenerateCerts returned very different certificates depending on whether domains are passed, but its doc comment didn't say so. Now documented (from gencerts.go): with no domains it returns the self-signed CA certificate/key (no SANs, kept for backwards compatibility); with domains it returns a leaf certificate signed by a freshly generated CA, which is not returned.

Validation: gofmt -l . clean, go vet ./..., go test ./... pass.

Dedup: open PRs #37, #38, #39 checked; none touch gencerts.go.

Generated by Run Documentation Hunter · auto · 17.5 AIC · ⊞ 10.3K · ◷

…tion Hunter

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@coderabbitai

coderabbitai Bot commented Oct 30, 2026

Copy link
Copy Markdown

Important

Review skipped

Bot user detected.

To trigger a single review, invoke the @coderabbitai review command.

Run configuration
  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 0618c1e0-8365-4775-a5ad-4dba83c52d6c

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants