# Scheduling posts doesn't work

**URL:** <https://forum.ghost.org/t/scheduling-posts-doesnt-work/28880>\
**Category:** Developer help\
**Created:** [March 4, 2022, 6:01pm UTC](https://forum.ghost.org/t/scheduling-posts-doesnt-work/28880 "2022-03-04T18:01:02Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![3rKaN\_BRATTE](https://avatars.discourse-cdn.com/v4/letter/3/3d9bf3/32.png) [@3rKaN\_BRATTE](https://forum.ghost.org/u/3rKaN_BRATTE)\
**Post date:** [March 4, 2022, 6:01pm UTC](https://forum.ghost.org/t/scheduling-posts-doesnt-work/28880/1 "2022-03-04T18:01:02Z")

</div>

**Issue Summary**

- Scheduling posts doesn’t work
- Scheduled a post for 18:30 CET but it did not published

## Setup information

**Ghost Version**  
_4.34.1_

**Node.js Version**  
_14.18.3_

**Operating system**  
_Ubuntu 20.04_

**Database type**  
_MariaDB_

**Relevant log / error output**

```auto
{"name":"Log","hostname":"website","pid":----,"level":50,"err":{"id":"---------","domain":"https://domain.com/","code":"UNABLE_TO_VERIFY_LEAF_SIGNATURE","name":"InternalServerError","statusCode":500,"level":"critical","message":"The server has encountered an error.","stack":"RequestError: unable to verify the first certificate\n at /var/www/domain.com/versions/4.34.1/core/server/adapters/scheduling/SchedulingDefault.js:319:23\n at ClientRequest.<anonymous> (/var/www/domain.com/versions/4.34.1/node_modules/got/source/request-as-event-emitter.js:178:14)\n at Object.onceWrapper (events.js:520:26)\n at ClientRequest.emit (events.js:412:35)\n at ClientRequest.origin.emit (/var/www/domain.com/versions/4.34.1/node_modules/@szmarczak/http-timer/source/index.js:37:11)\n at TLSSocket.socketErrorListener (_http_client.js:475:9)\n at TLSSocket.emit (events.js:400:28)\n at emitErrorNT (internal/streams/destroy.js:106:8)\n at emitErrorCloseNT (internal/streams/destroy.js:74:3)\n at processTicksAndRejections (internal/process/task_queues.js:82:21)"},"msg":"The server has encountered an error.","time":"2022-03-04T17:29:59.964Z","v":0}

```

---

<div class="post-metadata">

**Author:** ![3rKaN\_BRATTE](https://avatars.discourse-cdn.com/v4/letter/3/3d9bf3/32.png) [@3rKaN\_BRATTE](https://forum.ghost.org/u/3rKaN_BRATTE)\
**Post date:** [March 5, 2022, 4:49am UTC](https://forum.ghost.org/t/scheduling-posts-doesnt-work/28880/2 "2022-03-05T04:49:24Z")

</div>

Does it have something to do with node.js not having Cloudflare’s root certificate since my website uses Cloudflare’s SSL certificate?

If so, should I switch off the validation process with  
[`process.env.NODE_TLS_REJECT_UNAUTHORIZED = "0";`] (Is that safe to do?)

or should I add the root certificate to node.js?

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex015/uploads/ghost2/original/2X/b/ba9ce5100b8bb264586f4f572545596b2ce3f081.png) [@system](https://forum.ghost.org/u/system)\
**Post date:** [June 3, 2022, 4:50am UTC](https://forum.ghost.org/t/scheduling-posts-doesnt-work/28880/3 "2022-06-03T04:50:01Z")

</div>

Closed on June 3, 2022, 4:50am UTC

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.
