---
title: "How to update a SSL certificate for a site hosted by Caddy web server"
date: 2025-03-15
author: "Andy"
pubDate: "Sat, 15 Mar 2025 22:23:59 GMT"
link: "https://andysylvester.com/2025/03/15/how-to-update-a-ssl-certificate-for-a-site-hosted-by-caddy-web-server/"
urlPrev: "https://andysylvester.com/2025/03/14/what-the-writers-web-means-to-me.md"
urlNext: "https://andysylvester.com/2025/03/20/march-2025-updates-to-wordland-bloggers-river-of-news.md"
---

# How to update a SSL certificate for a site hosted by Caddy web server

I recently checked a site of mine ([Andy Status Tool](https://andy.mystatustool.com/)) that was being served under https using the [Caddy ](https://caddyserver.com/)web server. However, my browser was telling me that the site was “not secure” and making me click two times to get to the site, and still showing “Not Secure” in the URL window.

I asked ChatGPT what to do about this, and of course it gave me 7-8 things to check/try. I decided to do the third thing (manually trigger certificate renewal). I logged into my server, navigated to the directory that had my [Caddyfile](https://caddyserver.com/docs/caddyfile-tutorial), and entered the command “sudo caddy reload –force” (there are two dashes in front of the word “force”). I waited about 10 seconds, then closed the browser tab to my site, opened a new tab, and went to [the site](https://andy.mystatustool.com/) again – it was secure again! Thanks ChatGPT!