How to Check the Sunpike and Cluster Certificate Details?
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.
# 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 ttl
max_ttl 8760h ttlUse below mentioned steps to check the certificate of Sunpike:
vault read pki/cert/ca -format=json | jq -r '.data.certificate'Use below mentioned steps to check the certificate of Sunpike:
# 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.
Use below mentioned steps to check the certificate of Sunpike:
To know the current cluster certificate expiry you can try below steps:
PreviousHow to Reset the Management Plane Admin User Password via API?
NextAfter Upgrading DU to v-5.3.0-3085281, Cluster Upgrade Option to v1.20.15-pmk.2218 not Present
Last updated
