Web Hosting & VPS Tips

Unleash Your Server Potential with Expert Insights

Hosting provided by: Cloudways
Free to Try! Up to 40% Off!

Category: Bash

Use openssl—a crypto tool—in a Bash script on an AlmaLinux VPS—script:
#!/bin/bash\necho | openssl s_client -connect domain.com:443 2>/dev/null | openssl x509 -noout -enddate > ssl.log
On Vultr run:
./ssl.sh
—expect expiry date Ensures hosting security

Back to All Tips