Comments (8)
作为一个linux和python的小白,研究了半天log输出,目前实验出能在dsm7.2.1上跑通的方案。
- 将cert-up.sh文件中的71行的python2改为python。
- 将cert-up.sh文件中的81,82,83行的命令前面加上 synopkg 。例如81行从原来的stop pkg-apache22改成synopkg stop pkg-apache22)
- 将cert-up.sh文件中的78行的改成 /usr/syno/bin/synosystemctl reload nginx
- crt_cp.py的29行,print 后面加上括号print ('[ERR] load INFO file- %s')
- crt_cp.py的34行,像上面一样加上括号
- crt_cp.py的45行,加上括号
from syno-acme.
https://github.com/tonori/syno-acme
我修改了一下,系统是 dsm 7.2.1,使用的是 python3 ,同时结合 issue 66 修改了重启服务的命令
#66 (comment)
from syno-acme.
@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 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.
@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.
解决办法来了 将cert-up.sh文件中的updateService下的python2改为python。 #97
from syno-acme.
解决办法来了 将cert-up.sh文件中的updateService下的python2改为python。 #97
我是成功把证书复制到默认证书目录了,但是,还是没效果,清了缓存一样,还是老证书,只能导入,不能通过替换文件更新证书
from syno-acme.
作为一个linux和python的小白,研究了半天log输出,目前实验出能在dsm7.2.1上跑通的方案。
- 将 cert-up.sh 文件中的71行的python2改为python。
- 将 cert-up.sh 文件中的81,82,83行的命令前面加上 synopkg 。例如,81行从原来的stop pkg-apache22改成synopkg stop pkg-apache22)
- 将 cert-up.sh 文件中的78行的改成 /usr/syno/bin/synosystemctl reload nginx
- crt_cp.py的29行,print 后面加上括号print ('[ERR] load INFO file- %s')
- crt_cp.py的34行,像上面一样加上括号
- crt_cp.py的45行,加上括号
实测可以,谢谢
from syno-acme.
Related Issues (20)
- v0.3.0_dsm7_beta,DSM 7.0 测试版的中间证书相关问题(群晖版本:DSM 7.0-41890) HOT 2
- 已有证书的情况下,能否跳过申请证书步骤,直接导入到群晖? HOT 3
- 有用godaddy的么 提示 invalid domain
- 71行报错,无法自动更新证书,需要手动上传更新
- 自问自答:证书被自动重置,DSM6.x不支持ECC证书 HOT 1
- DSM 7.2-64570一直不成功麻烦大神给看下 HOT 4
- 群晖ds918+_7.2.1_69057安装不成功,提示链接错误,请求修复 HOT 2
- 帮忙看下是哪里出问题了吧。6.2.3-25426证书失效了,看起来是更新了证书,但是怎么不安装呢? HOT 2
- DSM 7.2.1-69057 Update 3无法更新证书 HOT 5
- 能出一个群晖6.2 自带DDNS域名证书的更新教程吗?
- 已fork发布新版,支持dsm 7.0 以上 加入cloudflare支持 HOT 4
- 更新证书同时同步到其他服务器的办法 HOT 2
- 群晖7.0一直失败,有老哥看看吗? HOT 3
- 群晖DSM 7.1.1无法获取证书,为域添加 txt 时出错。Error add txt for domain HOT 4
- 7.1-42661 一直失败 HOT 1
- 请教大神,移动脚本文件位置后,sudo -i 切换用户登录成功提示 No such file or directory 错误。 HOT 3
- 重做系统后`/bin/python2`和`/usr/syno/etc/rc.sysv/nginx.sh`未找到 HOT 1
- 华为云的参数怎么写啊 dns_api(dns_huaweicloud): Error getting token.
- DSM7 重启nginx
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from syno-acme.