→ Applies to: SynetoOS 5.x
Step 1. Connect to SynetoOS appliance via SSH as admin
ssh admin@<your_ip_address_or_hostname>
Step 2. Become Super User
sudo su
Step 3. Renew the certificate for 365 days
openssl req -x509 -nodes -days 365 -newkey rsa:2048 \
-keyout /etc/nginx/cert/server.key \
-out /etc/nginx/cert/server.crtThe command will prompt for some information, which can be left blank
Step 4. Restart ngnix.service
systemctl restart nginx.service
Step 5. Check the validity period of the new certificate
openssl s_client -connect IP_DELLA_MACCHINA:443 2>/dev/null | openssl x509 -noout -dates