はじめに
本ドキュメントでは、Kibanaの証明書の更新方法についてご紹介しております。
本ドキュメントで紹介する内容は CVIM 4.2.1, 4.2.2 に基づいています。その他のバージョンでは内容が異なる場合があります。
前提条件
CVIM Rest APIのTLS証明書の再構成 により更新したmercury証明書を /root/openstack-configs フォルダにコピー済み
を前提としております。
Reconfigureの実施
更新したmercury証明書は/root/openstack-configフォルダに保存済みの状況の場合、ciscovim reconfigureコマンドにより
Kibana証明書を更新することが可能となります。
[root@mgmt ~]# ciscovim reconfigure
Perform the action. Continue (Y/N)Y
Monitoring Reconfigure Operation
. . . . Cisco VIM Runner logs
The logs for this run are available in 10.70.2.130:/var/log/mercury/cf572c1f-276d-490d-af0b-f3824a735751
############################################
Cisco Virtualized Infrastructure Manager
############################################
....
[4/4][ORCHESTRATION: cvim-mon-Persist the updated ipv4 and ipv6 iptable ... [ / ] 16mins 11secs
Backup Validation Passed
[***][AUTOBACKUP:Cisco VIM backup: executing backup playbook ...
[4/4][ORCHESTRATION: cvim-mon-Persist the updated ipv4 and ipv6 iptable ... [ DONE! ]
[***][AUTOBACKUP:Completed Step1 of backup backupdir:... /var/cisco/autobackup_4.2.1_2023-07-24_14-14-18]
Ended Installation [ORCHESTRATION] [Success]
The logs for this run are available in 10.70.2.130:/var/log/mercury/cf572c1f-276d-490d-af0b-f3824a735751
Starting Cisco VIM post-backup ... /var/cisco/autobackup_4.2.1_2023-07-24_14-14-18
[root@mgmt ~]#
確認方法について
証明書の有効期限の確認方法について に記載のコマンドを実行することで期限を確認することが可能となります。
Kibanaの証明書の期限は、下記項目の Logging 表示の証明書が該当します。
[root@mgmt tools]# python certificate-check.py
INFO Certificate for OpenStack at 10.70.72.129:5000 expires in 1092 days
INFO Certificate for REST API at 10.70.72.130:8008 expires in 1092 days
INFO Certificate for Logging at 10.70.72.130:5601 expires in 1092 days
INFO MGMT_TLS is not enabled
[root@mgmt tools]#
参考情報
CVIM Rest APIのTLS証明書の再構成
証明書の有効期限の確認方法について