diff --git a/docs/guides/mssqlserver/reconfigure-tls/reconfigure-tls.md b/docs/guides/mssqlserver/reconfigure-tls/reconfigure-tls.md index dfcf1ad38..39dc3c25b 100644 --- a/docs/guides/mssqlserver/reconfigure-tls/reconfigure-tls.md +++ b/docs/guides/mssqlserver/reconfigure-tls/reconfigure-tls.md @@ -487,23 +487,22 @@ mssql@ms-standalone-0:/$ /opt/mssql-tools/bin/sqlcmd -S localhost -U sa -P l2mGQ We can verify from the above output that TLS is enabled for this database, `mssql.conf` file has tls configurations. So, TLS is enabled successfully to this database. - - - -start from here. .... - - ## Rotate Certificate Now we are going to rotate the certificate of this database. First let's check the current expiration date of the certificate. ```bash -$ kubectl exec -it ms-standalone-2 -n demo bash -root@ms-standalone-2:/# openssl x509 -in /var/run/mssqlserver/tls/client.pem -inform PEM -enddate -nameopt RFC2253 -noout -notAfter=Jun 9 13:32:20 2021 GMT +$ kubectl exec -it ms-standalone-0 -n demo -c mssql -- bash +mssql@ms-standalone-0:/$ openssl x509 -in /var/opt/mssql/tls/client.crt -inform PEM -enddate -nameopt RFC2253 -noout +notAfter=Feb 13 12:28:39 2025 GMT +mssql@ms-standalone-0:/$ ``` -So, the certificate will expire on this time `Jun 9 13:32:20 2021 GMT`. +So, the certificate will expire on this time `Feb 13 12:28:39 2025 GMT`. + + +-start from here. .... + ### Create MSSQLServerOpsRequest