[synology] renew a let’s encrypt certificate.

Connecting synology-ssh-server as root.

if you want to connect to synology ssh server, you mush login ssh-server as admin first.


and then, change as root. type this.

$ sudo -i

Screen Shot 2017-08-14 at 11.40.24 AM

  • root password is same with admin password.

Screen Shot 2017-08-14 at 11.42.34 AM

you can sse that you did login as root. type following this.

$ /usr/syno/sbin/syno-letsencrypt renew-all -v

option -v is debug mode. so you can see a log list what does it happen.

Screen Shot 2017-08-14 at 11.45.09 AM

  • you have to open 80 port to renew certification.

in my case, cert is not expired. so i will do next time. :) it’s done. thank you.

// this let you know to renew certification automatically.
cat /usr/syno/etc/letsencrypt/letsencrypt.default
// you can check when it started, and when it expired.
echo | openssl s_client -connect <ip address>:443 2>/dev/null | openssl x509 -noout -dates

ZIP > How to encrypted ZIP files on Termial.

If you want to read as english, you can see the following link site.


zip -er pathToZIPFile pathToFolder

-e 옵션은 암호화를 하겠다라는 의미이다.
-r 옵션은 서브디렉토리 안에 파일들까지 모두 포함시키겠다 라는 의미이다.

zip -er Documents.zip Documents

만약 Documents디렉토리를 모두다 포함시켜 압축하고 싶다면 위와 같이 사용할 수 있다.