Git Product home page Git Product logo

Comments (8)

bigbrave2008 avatar bigbrave2008 commented on June 10, 2024 1

作为一个linux和python的小白,研究了半天log输出,目前实验出能在dsm7.2.1上跑通的方案。

  1. 将cert-up.sh文件中的71行的python2改为python。
  2. 将cert-up.sh文件中的81,82,83行的命令前面加上 synopkg 。例如81行从原来的stop pkg-apache22改成synopkg stop pkg-apache22)
  3. 将cert-up.sh文件中的78行的改成 /usr/syno/bin/synosystemctl reload nginx
  4. crt_cp.py的29行,print 后面加上括号print ('[ERR] load INFO file- %s')
  5. crt_cp.py的34行,像上面一样加上括号
  6. crt_cp.py的45行,加上括号

from syno-acme.

tonori avatar tonori commented on June 10, 2024 1

https://github.com/tonori/syno-acme

我修改了一下,系统是 dsm 7.2.1,使用的是 python3 ,同时结合 issue 66 修改了重启服务的命令
#66 (comment)

from syno-acme.

RickGanKL avatar RickGanKL commented on June 10, 2024

@yduke Hello,
It is kindly suggested.
You can follow the WIKI to deploy certification easily. I also recommend that you choose a non-default certificate provider.
REF: https://github.com/acmesh-official/acme.sh/wiki/Synology-NAS-Guide

from syno-acme.

yduke avatar yduke commented on June 10, 2024

@yduke Hello, It is kindly suggested. You can follow the WIKI to deploy certification easily. I also recommend that you choose a non-default certificate provider. REF: https://github.com/acmesh-official/acme.sh/wiki/Synology-NAS-Guide

@RickGanKL First of all, the document you quoted is seriously out of date. Let's Encrypt already supports IPV6 AAAA records, and my port 80 443 can also be accessed normally. This issue has nothing to do with which certificate provider to use. I don't know why I have to use other certificates to get acme work.

With wrong path-addressing bug, any certificates are useless, right?

from syno-acme.

RickGanKL avatar RickGanKL commented on June 10, 2024

@yduke
This repository should be archived.
I'm quite sure that the quoted document is valid.
Please check: https://github.com/acmesh-official/acme.sh/blob/master/deploy/synology_dsm.sh.
Let's Encrypt doesn't stable in somewhere as well-known as.
I enjoy your blog. I have learned something from you. I would great to share with you about synology.

from syno-acme.

MRJCccc avatar MRJCccc commented on June 10, 2024

解决办法来了 将cert-up.sh文件中的updateService下的python2改为python。 #97

from syno-acme.

Subdue0 avatar Subdue0 commented on June 10, 2024

解决办法来了 将cert-up.sh文件中的updateService下的python2改为python。 #97

我是成功把证书复制到默认证书目录了,但是,还是没效果,清了缓存一样,还是老证书,只能导入,不能通过替换文件更新证书

from syno-acme.

HUANGKAIWENHHH avatar HUANGKAIWENHHH commented on June 10, 2024

作为一个linux和python的小白,研究了半天log输出,目前实验出能在dsm7.2.1上跑通的方案。

  1. 将 cert-up.sh 文件中的71行的python2改为python。
  2. 将 cert-up.sh 文件中的81,82,83行的命令前面加上 synopkg 。例如,81行从原来的stop pkg-apache22改成synopkg stop pkg-apache22)
  3. 将 cert-up.sh 文件中的78行的改成 /usr/syno/bin/synosystemctl reload nginx
  4. crt_cp.py的29行,print 后面加上括号print '[ERR] load INFO file- %s')
  5. crt_cp.py的34行,像上面一样加上括号
  6. crt_cp.py的45行,加上括号

实测可以,谢谢

from syno-acme.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.