Skip to content

Commit 22d1bf1

Browse files
committed
updated steps and links"
1 parent 2d87d78 commit 22d1bf1

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

articles/aks/certificate-rotation.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,19 +40,19 @@ Certificates mentioned above are maintained by Microsoft, except the cluster cer
4040
> kubectl config view --raw -o jsonpath="{.users[?(@.name == 'clusterUser_rg_myAKSCluster')].user.client-certificate-data}" | base64 -d | openssl x509 -text | grep -A2 Validity
4141
> ```
4242
43-
* To check expiration date of apiserver certificate, run the following command:
43+
To check expiration date of apiserver certificate, run the following command:
4444
4545
```console
4646
curl https://{apiserver-fqdn} -k -v 2>&1 |grep expire
4747
```
4848
49-
* To check the expiration date of certificate on VMAS agent node, run the following command:
49+
To check the expiration date of certificate on VMAS agent node, run the following command:
5050

5151
```azurecli
5252
az vm run-command invoke -g MC_rg_myAKSCluster_region -n vm-name --command-id RunShellScript --query 'value[0].message' -otsv --scripts "openssl x509 -in /etc/kubernetes/certs/apiserver.crt -noout -enddate"
5353
```
5454

55-
* To check expiration date of certificate on one virtual machine scale set agent node, run the following command:
55+
To check expiration date of certificate on one virtual machine scale set agent node, run the following command:
5656

5757
```azurecli
5858
az vmss run-command invoke -g MC_rg_myAKSCluster_region -n vmss-name --instance-id 0 --command-id RunShellScript --query 'value[0].message' -otsv --scripts "openssl x509 -in /etc/kubernetes/certs/apiserver.crt -noout -enddate"

0 commit comments

Comments
 (0)