Skip to content

vapi/library: add SslCertificate to Subscription - #4143

Merged
dougm merged 3 commits into
vmware:mainfrom
ericvmw:issue-4142-ssl-certificate
Oct 1, 2026
Merged

dougm merged 3 commits into
vmware:mainfrom
ericvmw:issue-4142-ssl-certificate

Conversation

@ericvmw

@ericvmw ericvmw commented Oct 1, 2026 •

Copy link
Copy Markdown
Contributor

Add the optional ssl_certificate field to the content library Subscription spec, matching SubscriptionInfo.sslCertificate, and support updating the subscription of a subscribed library via UpdateLibrary (subscription URL, SSL certificate, etc.).

Includes unit tests for the new field and for updating a subscribed library.

Fixes: #4142

🤖 Generated with Claude Code

@legal-compliance-bot

Copy link
Copy Markdown

🛑 Legal Compliance Check Failed

Hi @ericvmw, thank you for your contribution!

To merge this Pull Request, you must sign our DCO.

Note: Even if you signed off your commits locally (using git commit -s), you must post the comment below to register your signature with our automated system.
Note: This is a one-time process. Once signed, future contributions to this repository will be verified automatically.

1. Read the Document: Click here to read the DCO
2. Sign via Comment: Copy and paste the exact line below into a new comment on this Pull Request:

I have read the DCO Document and I hereby sign the DCO for this and all future contributions.

⏳ Processing Schedule:
Our 'Compliance Sweeper' runs automatically approximately every 15-20 minutes.
After you post the comment, your status will update automatically during the next scheduled run.
You do not need to take any further action.

@ericvmw
ericvmw force-pushed the issue-4142-ssl-certificate branch 2 times, most recently from 96a931b to 94946ec Compare October 1, 2026 22:40
@ericvmw

ericvmw commented Oct 1, 2026

Copy link
Copy Markdown
Contributor Author

I have read the DCO Document and I hereby sign the DCO for this and all future contributions.

ericvmw and others added 3 commits October 1, 2026 16:03
Add the optional ssl_certificate field to the library Subscription spec.

Fixes: vmware#4142

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Signed-off-by: Eric Cao <eric.cao@broadcom.com>
Skip the automatic SslThumbprint lookup when SslCertificate is set.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Signed-off-by: Eric Cao <eric.cao@broadcom.com>
UpdateLibrary now sends the Subscription for SUBSCRIBED libraries via the
subscribed-library endpoint, allowing the subscription URL, SSL
certificate, etc. to be changed. The simulator patches the subscription.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Signed-off-by: Eric Cao <eric.cao@broadcom.com>
@ericvmw
ericvmw force-pushed the issue-4142-ssl-certificate branch from f376892 to 846f37a Compare October 1, 2026 23:03

@zach96guan zach96guan left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

(Weird.. seems I don't have access to approve the govmomi PR)

@dougm dougm left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@dougm
dougm merged commit e53aa9f into vmware:main Oct 1, 2026
13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[BUG] Content Library SubscriptionInfo should include the optional SslCertificate field.

3 participants