Back

Renewing SSL certificate is not automatic anymore

  • 0
  • Self Hosted
  • General
iStornZ
27 Jan, 2025, 22:49

Hello all, It will be the second time I need to renew my SSL certificate manually. I don't understand why It's not done automatically. Here is how I proceed to renew it:

  • Connect over SSH
  • Run the command docker compose exec appwrite ssl
  • Restart my server docker compose down && docker compose up -d

Here is the logs of the command docker compose logs appwrite-worker-certificates

TypeScript
appwrite-worker-certificates  | [Worker] Worker 0 is ready!
appwrite-worker-certificates  | Worker certificates  started
appwrite-worker-certificates  | [Job] Received Job (67980bccddbdb6.60828320).
appwrite-worker-certificates  | Cannot renew domain (my.app.com) on attempt no. 3 certificate: Renew isn't required.
appwrite-worker-certificates  | [Job] (67980bccddbdb6.60828320) failed to run.
appwrite-worker-certificates  | [Job] (67980bccddbdb6.60828320) Renew isn't required.
appwrite-worker-certificates  | Using deprecated logging configuration. Please update your configuration to use DSN format.Unable to parse DSN: scheme is required
appwrite-worker-certificates  | [Error] Type: Exception
appwrite-worker-certificates  | [Error] Message: Renew isn't required.
appwrite-worker-certificates  | [Error] File: /usr/src/code/src/Appwrite/Platform/Workers/Certificates.php
appwrite-worker-certificates  | [Error] Line: 152

So my question is why the renew is not done automatically and I need to wait to the expiration date to renew it? Thanks :appwritepeepo:

TL;DR
Developer needs SSL certificate to automatically renew, but currently has to renew it manually. Attempted renewal resulted in error message, "Renew isn't required." A potential solution is to check SSL configuration and ensure correct DSN format for logging.
Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more