AS-604T let's encrypt new root cannot be validated

This is where you can find the latest ADM official release. Feel free to discuss any questions regarding it here.

Moderator: Lillian.W@AST

Post Reply
lucian.jp
Posts: 3
youtube meble na wymiar Warszawa
Joined: Sun Feb 16, 2014 6:32 am

AS-604T let's encrypt new root cannot be validated

Post by lucian.jp »

Certs in AS-604T are really outdated. Tried to update them manually, but they keep getting re-written by an asustor cronjob that runs on startup. Can we disable that cron? or can the certificates be updated in the AS-604 image?
User avatar
Nazar78
Posts: 2064
Joined: Wed Jul 17, 2019 10:21 pm
Location: Singapore
Contact:

Re: AS-604T let's encrypt new root cannot be validated

Post by Nazar78 »

Not sure about AS-604T but for mine there's crontab that can be disabled (comment out):

Code: Select all

0 0 * * * TAG=CERTIFICATE /usr/builtin/bin/certificate update-cert
Also at boot (add exit 0 early in the script):

Code: Select all

/volume0/usr/builtin/etc/init.d/S99certificate
Again at wakeup:

Code: Select all

/volume0/usr/builtin/etc/init.d/P99certificate
Or simply rename this command to disable the function:

Code: Select all

/volume0/usr/builtin/bin/certificate
Note, I know this command will check some Let's Encrypt certs if they exists but not sure if Asustor's implementation of Let's Encrypt will need this command as I'm using Let's Encrypt via chroot acme.sh. Rename at your own accord.
AS5304T - 16GB DDR4 - ADM-OS modded on 2GB RAM
Internal:
- 4x10TB Toshiba RAID10 Ext4-Journal=Off
External 5 Bay USB3:
- 4x2TB Seagate modded RAID0 Btrfs-Compression
- 480GB Intel SSD for modded dm-cache (initramfs auto update patch) and Apps

When posting, consider checking the box "Notify me when a reply is posted" to get faster response
Post Reply

Return to “[Official] For AS-60X Series”