Posts

Showing posts with the label Linux

Certificate Changes in 2026: My Full Linux Admin Blog Series

A complete series covering TLS basics, DigiCert trust changes, certificate lifetime reductions, and automation for Linux users. Introduction Over the past few posts, I have covered the basics of TLS certificates, the DigiCert trust-chain changes affecting older hierarchies, the real certificate validity timeline, and practical automation steps for Linux admins. Full series TLS Certificates Explained Simply: A Beginner-Friendly Guide for Linux Users Why Mozilla and Chrome Are Distrusting Some Older DigiCert Certificate Chains How to Check If Your Linux Server Uses an Affected DigiCert Certificate Chain Are TLS Certificate Lifetimes Really Dropping to One Month? Here Is the Real Timeline How to Automate TLS Certificate Renewals on Linux Before Short Lifetimes Become a Problem My 2026 Certificate Checklist for Linux Admins and Website Owners This is a good time for admins to review their live certificate chains, move away from affected...

How to Automate TLS Certificate Renewals on Linux Before Short Lifetimes Become a Problem

Part 5 of 6 Shorter TLS certificate lifetimes mean manual renewal is no longer enough. Here is how Linux admins can automate renewals safely. Introduction Once certificate lifetimes start shrinking, the obvious question becomes: how do we keep up without turning certificate renewals into a monthly headache? The answer is automation. Use ACME-based renewal Most modern certificate automation is built around ACME , the protocol used by tools such as Certbot, acme.sh, and lego. For many Linux users, Certbot is the easiest starting point. A simple test command is: sudo certbot renew --dry-run This is useful because it checks whether your renewal process works before expiry becomes urgent. Use systemd for automation # /etc/systemd/system/tls-renew.service [Unit] Description=Renew TLS certificates [Service] Type=oneshot ExecStart=/usr/bin/certbot renew --quiet ExecStartPost=/bin/systemctl reload nginx.service # /etc/systemd/system/tls-renew.ti...

Are TLS Certificate Lifetimes Really Dropping to One Month? Here Is the Real Timeline

Part 4 of 6 People keep saying certificate validity is dropping from one year to one month. Here is the real public TLS timeline and what it means. Introduction I keep hearing the same claim: certificate validity is going from one year to one month. That is not the full story. The real change is more gradual, but it is still a big operational shift. The actual timeline Before March 15, 2026 : maximum validity is 398 days From March 15, 2026 : maximum validity becomes 200 days From March 15, 2027 : maximum validity becomes 100 days From March 15, 2029 : maximum validity becomes 47 days So no, the industry is not jumping straight from one year to one month tomorrow. Why shorter lifetimes are happening The long-term direction is very clear: certificates will live for much shorter periods than many admins are used to. Why is this happening? Because shorter lifetimes reduce risk. If a certificate is misissued, or a private key i...

How to Check If Your Linux Server Uses an Affected DigiCert Certificate Chain

Part 3 of 6 A practical Linux guide to inspecting TLS certificate chains with OpenSSL before DigiCert trust changes cause browser errors. Introduction Once you know that browser trust changes are coming, the next question is obvious: how do you check whether your own server is affected? The good news is that Linux gives you simple tools for this. One of the easiest ways is to inspect the live TLS chain with OpenSSL. Basic OpenSSL check openssl s_client -connect example.com:443 -servername example.com -showcerts </dev/null This shows the certificate chain presented by the remote server. Save and inspect each certificate openssl s_client -connect example.com:443 -servername example.com -showcerts </dev/null 2>/dev/null \ | awk '/BEGIN CERTIFICATE/{i++} {print > ("cert-" i ".pem")}' for f in cert-*.pem; do echo "==== $f ====" openssl x509 -in "$f" -noout -subject -issuer -dates done ...

TLS Certificates Explained Simply: A Beginner-Friendly Guide for Linux Users

Part 1 of 6 A simple guide to TLS certificates, certificate chains, root CAs, and intermediates for Linux users, website owners, and beginners. Introduction If you run a blog, website, reverse proxy, API, mail server, or admin panel, you are already depending on TLS certificates. Many people use them every day without fully understanding how they work. That is normal. But with browser trust changes and shorter certificate lifetimes becoming more important, this is a good time to learn the basics. When a visitor opens your site over HTTPS, their browser checks a few things. It checks whether the certificate matches the domain name, whether the certificate is still valid by date, and whether it chains back to a trusted root CA. What is a certificate chain? A simple way to think about it is this: The leaf certificate is the certificate installed on your website or server. The intermediate certificate is the certificate that issued your server certif...

DHCP deleting custom entries in /etc/resolv.conf file

  If you are working on cloud environments like AWS, OCI you might have come across a requirement where you need to add custom settings on DNS like name servers, search domains and so on. Any changes to /etc/resolv.conf or the network configuration files will be reverted by the DNS server associated with the cloud virtual network.   There are many ways to set custom DNS settings and make sure it’s not overridden by DHCP. Using Dhclient supersede option is one of the best methods.   The dhclient.conf file allows you to configure various options for the DHCP client (dhclient) that controls how your system obtains IP addresses and network configuration information from DHCP servers. The supersede directive is used to override and modify DHCP options that are provided by the DHCP server. It allows you to replace or supplement the DHCP options with your own settings.   Below, I'll explain how to use the supercede directive in the dhclient....

Intrusion Detection and Integrity Checks with AIDE in Linux

Image
  Advanced Intrusion Detection Environment (AIDE) is an open-source utility designed to monitor and protect the integrity of files on a Linux system. AIDE creates a database of file attributes and uses it to perform regular checks for changes, additions, or deletions in system files, alerting you to potential security breaches. When properly used AIDE helps to protect the system internally, by providing a layer of protection against viruses, rootkits, malware, and detection of unauthorized activities.   Why Use AIDE? Detect Unauthorized Changes: AIDE can identify unauthorized changes to critical system files, helping you catch intrusion attempts promptly. File Integrity Monitoring: It offers continuous file integrity monitoring, making it ideal for ensuring the stability and security of your server. Customizable Rules: AIDE allows you to define specific rules for monitoring, tailoring its functionality to your unique server environm...