NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.
Forum Discussion
chrhei
May 25, 2016Luminary
Letsencrypt/certbot experiments with ReadyNAS OS 6.5.0 on RN202
See also: LINK Install letsencrypt/certbot on Readynas OS 6.5.0 (Debian Wheezy): Docs and inspiration from: certbot netgear_581268 netgear_592613 # apt-get install nano (or any other edit...
- May 26, 2016
And below you'll what I've done to get the certificates easily updated!
# cd /opt/letsencrypt
# nano my_renew_hook
Add the following lines to the script:===== snip =====
#!/bin/sh
rm /etc/frontview/apache/apache2.pem
cat /etc/letsencrypt/live/fqdn.yourdomain.com/privkey.pem >> /etc/frontview/apache/apache2.pem
cat /etc/letsencrypt/live/fqdn.yourdomain.com/cert.pem >> /etc/frontview/apache/apache2.pem
cp /etc/letsencrypt/live/fqdn.yourdomain.com/chain.pem /etc/frontview/apache/chain.pem
===== snap =====Save the script and make it executeable:
# chmod 755 my_renew_hookTo renew your certificates run (also possible via a cron-job):
# /opt/letsencrypt/certbot-auto renew --standalone --pre-hook "service apache2 stop" --post-hook "service apache2 start" --renew-hook "/opt/letsencrypt/my_renew_hook"
BrianL2
May 26, 2016NETGEAR Employee Retired
Hi chrhei,
Thank you for sharing this in the community. We hope that you will continue to post suggestions, tips, questions or anything about ReadyNAS that you think needs attention and will help others.
Kind regards,
BrianL
NETGEAR Community Team
Related Content
NETGEAR Academy

Boost your skills with the Netgear Academy - Get trained, certified and stay ahead with the latest Netgear technology!
Join Us!