証明書の問題で vCenter へのライセンス割り当てが「選択したvCenterServerシステムにライセンスを割り当てることができませんでした」エラーで失敗する
search cancel

証明書の問題で vCenter へのライセンス割り当てが「選択したvCenterServerシステムにライセンスを割り当てることができませんでした」エラーで失敗する

book

Article ID: 442335

calendar_today

Updated On:

Products

VCF Operations

Issue/Introduction

VCF Operations のライセンス管理(License Management)ページを介してプライマリ ライセンスを割り当てようとした際、タスクが次のエラーで失敗します:「選択したvCenterServerシステムにライセンスを割り当てることができませんでした」

collector.log には、エラー メッセージ unable to find valid certification path to requested target が記録されます。

YYYY-MM-DDTHH:mm:ss.642Z ERROR collector #### [ops@#### threadId="#######" threadName="vcf-licensing-collection-#####"] [(##) com.vmware.adapter.management.components.A.A.A] - Unable to create vc client for VC <VC IP or FQDN>
com.integrien.alive.common.exception.VcException: Connecting to VC at https://<VC IP or FQDN>/sdk failed.
:::
Caused by: com.vmware.vim.vmomi.client.exception.SslException: javax.net.ssl.SSLHandshakeException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target

Cause

この問題は、対象の vCenter の Lookup Service 内における SSL Trust のミスマッチによって発生する可能性があります。

Resolution

--trustfix オプションで lsdoctor ツールを使用し、SSL Trust のミスマッチを修正します。

注意: lsdoctor ツールを使用する前に、vCenter Server Appliance のオフラインスナップショットを取得してください。

lsdoctor.py ツールの使用方法に関する詳細については、次の KB を参照してください:Using the 'lsdoctor' Tool

Additional Information

vCenter license assignment fails with "License could not be assigned to the selected vCenter system" error caused by certificate issue