When user supplied SSP ingress certificate expires, SSP becomes inaccessible through both UI and API, making replacing the expired ingress certificate through UI or API impossible
SSP 5.1 and above where user-uploaded ingress certificate has expired.
SSP versions 5.1 and beyond allow user to replace system-generated ingress certificate with one signed by user's own CA. Even though SSP provides monitoring and alarming supports to warn users to take action when said certificate expiration date approached, it depends on user heeding the alarms and taking actions to replace the certificate. SSP can not replace the certificate for users since SSP does not control user's signing CA. As a result, after the certificate expires, SSP becomes inaccessible via UI or API even if users ignore the expired certificate error in their clients (e.g., browsers or postman.)
After the user supplied ingress certificate expires, user will observed the UI stops working with error code 403 from the browser. Likewise, when trying to make API calls to the ingress FQDN, API calls will failed with HTTP response code of 401.
authserver container will also contain logs about authetination failed due to expired certificate as below :
Login to SSPI cli using sysadmin user and verify the authserver logs using the command :
k -n nsxi-platform logs deploy/authserver
1. Temporarily revert back to system generated ingress certificate in cloudnative-platform-ingress httpproxy, From SSPI command line
k -n nsxi-platform patch httpproxy cloudnative-platform-ingress --type='merge' -p '{"spec":{"virtualhost":{"tls":{"secretName":"ingress-tls-cert"}}}}'
2. Now UI accessible and user can replace ingress via UI using CSR → upload certificate workflow. Note that even though SSP has switched to use system generated ingress certificate, in Certificates UI page, one continue to see the user provided ingress certificate is being used and has expired.
3. Once a new ingress certificate gets uploaded to SSP successfully, there's no need to revert the above setting as the system will make sure it's properly configured.