Problem
The Tenant App UI becomes inaccessible when the self-signed certificate expires.
Solution
You can replace an expired self-signed certificate with a valid certificate for Tenant App.
- Log in to Tenant App VA as root and navigate to "/etc/ssl" using the command, # cd /etc/ssl.
- Execute the commands in the following sequence.
- # openssl genrsa -out app.key 2048
- # openssl rsa -in app.key -out app.key
- Replace "/CN=localhost" with customer domain in the command, # openssl req -sha256 -new -key app.key -out app.csr -subj '/CN=localhost'.
- Replace "-day 356" based on your requirement in the command, # openssl x509 -req -sha256 -days 365 -in app.csr -signkey app.key -out app.crt # cat app.crt app.key > app.pem.
- Restart the openssl by using the command, # systemctl restart sshd.
- Reboot Tenant App using the command, # reboot.