Platform9 Edge Cloud
Latest
Frequently Asked Questions
How To
Solution
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?
How to Check the Sunpike and Cluster Certificate Details?
Copy Markdown
Open in ChatGPT
Open in Claude
Problem
- How to Check the Sunpike and Cluster Certificate Details in LTS1 setup.
Environment
- Platform9 Edge Cloud - v-5.3.
Procedure
Sunpike Certificates
- Use below mentioned steps to check the TTL value of Sunpike CA.
Inside DU VM
# export VAULT_TOKEN=$(mysql qbert -Bse "SELECT credential_value FROM qbert_secrets where credential_name='root_token'")# export VAULT_ADDR=http://127.0.0.1:8200# /usr/local/bin/vault read pki/roles/sunpike | grep ttlmax_ttl 8760h ttl- Use below mentioned steps to check the certificate of Sunpike:
Inside DU VM
xxxxxxxxxxvault read pki/cert/ca -format=json | jq -r '.data.certificate'- Use below mentioned steps to check the certificate of Sunpike:
Inside DU VM
xxxxxxxxxx# docker exec -ti sunpike-kube-apiserver /bin/bash# curl -kv https://127.0.0.1:6443Cluster Certificates
- Use below mentioned steps to check the TTL value of Cluster CA.
Inside DU VM
xxxxxxxxxx# cat /etc/vault/server.hcl | grep ttlOr# cat /etc/pf9-vault.d/server-config.hcl | grep ttl- Use below mentioned steps to check the certificate of Sunpike:
Inside DU VM
x
# export VAULT_TOKEN=$(mysql qbert -Bse "SELECT credential_value FROM qbert_secrets where credential_name='root_token'")# export VAULT_ADDR=http://127.0.0.1:8200 # /usr/local/bin/vault read pki/cert/ca -format=json | jq -r '.data.certificate' > ca.cert# cat ca.cert | openssl x509 -noout -dates- To know the current cluster certificate expiry you can try below steps:
Master node
xxxxxxxxxx# openssl x509 -in /etc/pf9/kube.d/certs/kubelet/apiserver/request.crt -text -nooutVariableType 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