If SSL certificate has expired in UICL portal, follow the guide below to update the certificate file
Step-by-step guide
- Putty / SSH to portal internal IP address
- Put the latest certificate in /etc/ssl/private (you may need to Winscp to /tmp first, then copy to that folder using sudo cp /tmp/<yourfiles> /etc/ssl/private)
- You need two files
abc.key (private key file)
abc.crt (certificate key file) - Go to /etc/httpd/conf.d folder
- Edit ssl.conf and uicl.minv.biz-le-ssl.conf, replace the SSL certificate filename to the new filename you copied
- Restart web server using sudo systemctl restart httpd
2. Upload files to server
pscp ".crt file path" bizspoke_admin@192.168.1.109:/tmp/
pscp "private.key file path" bizspoke_admin@192.168.1.109:/tmp/
Copy files to private folder
sudo cp /tmp/filename.key /etc/ssl/private
sudo cp /tmp/filename.crt /etc/ssl/private
4. Change directory to conf.d folder
cd /etc/httpd/conf.d
5. Edit no comment settings to new cert file name
sudo nano ssl.conf
sudo nano domain-ssl.conf
(Ctrl V - Next page, Ctrl X - Close > Y - Save)
Backup existing file before edit
sudo cp ssl.conf ssl.conf.bak_20220816
sudo cp domain-ssl.conf domain-ssl.conf.bak_20220816
6. Restart the server
sudo systemctl restart httpd
Related articles