Managed Kubernetes
Latest
Frequently Asked Questions
Solutions
How Tos
Internal Only
Templates
Powered By

Title
Message
Create new category
What is the title of your new category?
Edit page index title
What is the title of the page index?
Edit category
What is the new title of your category?
Edit link
What is the new title and URL of your link?
"Error [ERR_TL S_CERT_ALTNAME_INVALID]: Hostname/IP Does not Match Certificate's altnames:" Which Breaks the Communication to Management Plane from Node.
Copy Markdown
Open in ChatGPT
Open in Claude
Problem
- Comms not able to communicate to management plane and throwing the following error.
Comms Log
[2023-09-03 14:29:35.144] [ERROR] sni-broker.v0.mgplane.pf9.localnet-::1-5672-4 - TLS socket for client 28180 error: Error [ERR_TLS_CERT_ALTNAME_INVALID]: Hostname/IP does not match certificate's altnames: Host: broker.v0.mgplane.pf9.localnet. is not cert's CN: mgplane.pf9.localnetEnvironment
- Platform9 Edge Cloud - v-5.3.0-2075501
Cause
- Host agent config file is not updated with the
cert_versionparameter which leads comms to use an older cert version.
hostagent.conf
xxxxxxxxxxroot@worker0 ~]# cat /etc/pf9/hostagent.conf[hostagent] [ssl]cert_version=disable=True- From error message
[2023-09-03 14:29:35.144] [ERROR] sni-broker.v0.mgplane.pf9.localnet-::1-5672-4 - TLS socket for client 28180 error.Thesni-broker.v0indicates it is referring to cert version v0.
Resolution
- Identify the
latest cert_version.
certs directory
xxxxxxxxxx[root@mgplane ~]# ls -ltr /etc/pf9/certs/total 12drwxr-xr-x 2 root root 109 Mar 30 2022 web_test_cadrwxr-xr-x 27 root root 4096 Jul 6 04:47 v1drwxr-xr-x 27 root root 4096 Jul 6 04:47 v2drwxr-xr-x 27 root root 4096 Jul 6 04:47 v3 <<---- Latest version- Update the
hostagent.conffile
hostagent.conf
xxxxxxxxxxvi /etc/pf9/hostagent.conf [hostagent] [ssl]cert_version=v3 <--- Add the latest version here.disable=True- Restart the services.
restart services
xxxxxxxxxx# systemctl restart pf9-comms.servcie# systemctl restart pf9-sidekick.servcie# systemctl restart pf9-hostagent.servcie##
VariableType to search · ESC to discard
GlossaryType to search · ESC to discard
InsertType to search · ESC to discard
No matches
Last updated on
Was this page helpful?
Discard Changes
Do you want to discard your current changes and overwrite with the template?
Archive Synced Block
Message
Create new Template
What is this template's title?
Delete Template
Message