开源 企业版 高校版 私有云 模力方舟 AI 队友
代码拉取完成,页面将自动刷新
捐赠
捐赠前请先登录
扫描微信二维码支付
取消
支付完成
支付提示
将跳转至支付宝完成支付
确定
取消
1 Star 0 Fork 21

kr-space/python-certbot

forked from src-openEuler/python-certbot
关闭
加入 Gitee
与超过 1400万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
已有帐号? 立即登录
文件
master
分支 (25)
标签 (15)
master
openEuler-25.09
sync-pr15--to-openEuler-25.03
openEuler-25.03
openEuler-24.03-LTS
openEuler-24.03-LTS-Next
openEuler-24.03-LTS-SP1
openEuler-24.03-LTS-SP2
openEuler-24.03-LTS-SP3
openEuler-24.09
openEuler-23.09
openEuler-22.09
openEuler-23.03
openEuler-20.03-LTS-Next
openEuler-20.03-LTS-SP1
openEuler-20.03-LTS-SP2
openEuler-20.03-LTS-SP3
openEuler-20.03-LTS-SP4
openEuler-21.09
openEuler-22.03-LTS
openEuler-24.03-LTS-SP2-release
openEuler-24.03-LTS-SP1-release
openEuler-22.03-LTS-SP4-release
openEuler-24.09-release
openEuler-24.03-LTS-release
openEuler-22.03-LTS-SP3-release
openEuler-23.09-rc5
openEuler-22.03-LTS-SP1-release
openEuler-22.09-release
openEuler-22.09-rc5
openEuler-22.09-20220829
openEuler-22.03-LTS-20220331
openEuler-22.03-LTS-round5
openEuler-22.03-LTS-round4
openEuler-20.03-LTS-SP3-release
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
项目仓库所选许可证以仓库主分支所使用许可证为准
master
分支 (25)
标签 (15)
master
openEuler-25.09
sync-pr15--to-openEuler-25.03
openEuler-25.03
openEuler-24.03-LTS
openEuler-24.03-LTS-Next
openEuler-24.03-LTS-SP1
openEuler-24.03-LTS-SP2
openEuler-24.03-LTS-SP3
openEuler-24.09
openEuler-23.09
openEuler-22.09
openEuler-23.03
openEuler-20.03-LTS-Next
openEuler-20.03-LTS-SP1
openEuler-20.03-LTS-SP2
openEuler-20.03-LTS-SP3
openEuler-20.03-LTS-SP4
openEuler-21.09
openEuler-22.03-LTS
openEuler-24.03-LTS-SP2-release
openEuler-24.03-LTS-SP1-release
openEuler-22.03-LTS-SP4-release
openEuler-24.09-release
openEuler-24.03-LTS-release
openEuler-22.03-LTS-SP3-release
openEuler-23.09-rc5
openEuler-22.03-LTS-SP1-release
openEuler-22.09-release
openEuler-22.09-rc5
openEuler-22.09-20220829
openEuler-22.03-LTS-20220331
openEuler-22.03-LTS-round5
openEuler-22.03-LTS-round4
openEuler-20.03-LTS-SP3-release
克隆/下载
克隆/下载
提示
下载代码请复制以下命令到终端执行
为确保你提交的代码身份被 Gitee 正确识别,请执行以下命令完成配置
初次使用 SSH 协议进行代码克隆、推送等操作时,需按下述提示完成 SSH 配置
1 生成 RSA 密钥
2 获取 RSA 公钥内容,并配置到 SSH公钥
在 Gitee 上使用 SVN,请访问 使用指南
使用 HTTPS 协议时,命令行会出现如下账号密码验证步骤。基于安全考虑,Gitee 建议 配置并使用私人令牌 替代登录密码进行克隆、推送等操作
Username for 'https://gitee.com': userName
Password for 'https://userName@gitee.com': # 私人令牌
master
分支 (25)
标签 (15)
master
openEuler-25.09
sync-pr15--to-openEuler-25.03
openEuler-25.03
openEuler-24.03-LTS
openEuler-24.03-LTS-Next
openEuler-24.03-LTS-SP1
openEuler-24.03-LTS-SP2
openEuler-24.03-LTS-SP3
openEuler-24.09
openEuler-23.09
openEuler-22.09
openEuler-23.03
openEuler-20.03-LTS-Next
openEuler-20.03-LTS-SP1
openEuler-20.03-LTS-SP2
openEuler-20.03-LTS-SP3
openEuler-20.03-LTS-SP4
openEuler-21.09
openEuler-22.03-LTS
openEuler-24.03-LTS-SP2-release
openEuler-24.03-LTS-SP1-release
openEuler-22.03-LTS-SP4-release
openEuler-24.09-release
openEuler-24.03-LTS-release
openEuler-22.03-LTS-SP3-release
openEuler-23.09-rc5
openEuler-22.03-LTS-SP1-release
openEuler-22.09-release
openEuler-22.09-rc5
openEuler-22.09-20220829
openEuler-22.03-LTS-20220331
openEuler-22.03-LTS-round5
openEuler-22.03-LTS-round4
openEuler-20.03-LTS-SP3-release
python-certbot
/
python-certbot.spec
python-certbot
/
python-certbot.spec
python-certbot.spec 9.69 KB
一键复制 编辑 原始数据 按行查看 历史
kr-space 提交于 2025年11月18日 17:51 +08:00 . Upgrade python-certbot to 5.1.0
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263
Name: python-certbot
Version: 5.1.0
Release: 1
Summary: ACME client
License: MIT and Apache-2.0
URL: https://github.com/certbot/certbot
Source0: %{url}/archive/v%{version}/certbot-%{version}.tar.gz
Source10: certbot-renew-systemd.service
Source11: certbot-renew-systemd.timer
Source12: certbot-sysconfig-certbot
Source13: certbot-cli.ini
Source15: certbot.logrotate
BuildArch: noarch
%description
The python3 libraries to interface with certbot.
%package -n certbot
Summary: A free, automated certificate authority client
Requires: python3-certbot = %{version}-%{release}
%{?systemd_requires}
%description -n certbot
certbot is a free, automated certificate authority that aims
to lower the barriers to entry for encrypting all HTTP traffic on the internet.
%package -n python3-certbot
Summary: ACME client
Provides: python-certbot = %{version}-%{release}
BuildRequires: python3-devel >= 3.9
BuildRequires: python3-setuptools
Requires: python3-acme = %{version}-%{release}
Requires: python3-ConfigArgParse
Requires: python3-configobj
Requires: python3-cryptography
Requires: python3-distro
Requires: python3-josepy
Requires: python-parsedatetime
Requires: python3-pyrfc3339
Requires: python3-zope-component
Requires: python3-zope-interface
%description -n python3-certbot
The python3 libraries to interface with certbot
%package -n python3-acme
Summary:ACME protocol implementation in Python
Provides:python-acme = %{version}-%{release}
BuildRequires: python3-devel >= 3.9
BuildRequires: python3-setuptools
%description -n python3-acme
Python libraries implementing the Automatic Certificate Management Environment (ACME)protocol.it is used by the Let's Encrypt project.
%package -n python3-certbot-apache
Summary: The apache plugin for certbot
Requires: mod_ssl
Requires: python3-acme = %{version}-%{release}
Requires: python3-certbot = %{version}-%{release}
Provides: certbot-apache = %{version}-%{release}
%description -n python3-certbot-apache
Plugin for certbot that allows for automatic configuration of apache
%package -n python3-certbot-nginx
Summary: The nginx plugin for certbot
Provides: certbot-nginx = %{version}-%{release}
Requires: python3-acme = %{version}-%{release}
Requires: python3-certbot = %{version}-%{release}
%description -n python3-certbot-nginx
Plugin for certbot that allows for automatic configuration of ngnix
%package help
Summary: Development documents and examples for certbot
Provides: python3-certbot-doc = %{version}-%{release}
%description help
The python3 libraries to interface with certbot
%prep
%autosetup -n certbot-%{version} -p1
%build
for module in acme certbot certbot-apache certbot-nginx
do
pushd $module
%py3_build
popd
done
%install
for module in acme certbot certbot-apache certbot-nginx
do
pushd $module
%py3_install
popd
done
mv %{buildroot}%{_bindir}/certbot{,-3}
ln -s certbot-3 %{buildroot}%{_bindir}/certbot
install -d -m755 %{buildroot}/%{_pkgdocdir}
cd ./certbot
if [ -d doc ]; then cp -arf doc %{buildroot}/%{_pkgdocdir}/certbot; fi
if [ -d docs ]; then cp -arf docs %{buildroot}/%{_pkgdocdir}/certbot; fi
if [ -d example ]; then cp -arf example %{buildroot}/%{_pkgdocdir}/certbot; fi
if [ -d examples ]; then cp -arf examples %{buildroot}/%{_pkgdocdir}/certbot; fi
cd ./../acme
if [ -d doc ]; then cp -arf doc %{buildroot}/%{_pkgdocdir}/acme; fi
if [ -d docs ]; then cp -arf docs %{buildroot}/%{_pkgdocdir}/acme; fi
if [ -d example ]; then cp -arf example %{buildroot}/%{_pkgdocdir}/acme; fi
if [ -d examples ]; then cp -arf examples %{buildroot}/%{_pkgdocdir}/acme; fi
install -Dm 0644 --preserve-timestamps %{S:10} %{buildroot}%{_unitdir}/certbot-renew.service
install -Dm 0644 --preserve-timestamps %{S:11} %{buildroot}%{_unitdir}/certbot-renew.timer
install -Dm 0644 --preserve-timestamps %{S:12} %{buildroot}%{_sysconfdir}/sysconfig/certbot
install -Dm 0644 --preserve-timestamps %{S:13} %{buildroot}%{_sysconfdir}/letsencrypt/cli.ini
install -Dm 0644 --preserve-timestamps %{S:15} %{buildroot}%{_sysconfdir}/logrotate.d/certbot
# project uses old letsencrypt dir for compatibility
install -dm 0755 %{buildroot}%{_sysconfdir}/letsencrypt
install -dm 0755 %{buildroot}%{_sharedstatedir}/letsencrypt
install -dm 0755 %{buildroot}%{_localstatedir}/log/letsencrypt
%post -n certbot
%systemd_post certbot-renew.timer
# Remind users to start certbot-renew.timer if they need certbot to automatically renew certs
if [ "1ドル" -eq 1 ] ; then
echo ""
echo "Certbot auto renewal timer is not started by default."
echo "Run 'systemctl start certbot-renew.timer' to enable automatic renewals."
fi
%preun -n certbot
%systemd_preun certbot-renew.timer
%postun -n certbot
%systemd_postun certbot-renew.timer
%files -n certbot
%license LICENSE.txt
%doc certbot/README.rst
%{_bindir}/certbot
%dir %{_sysconfdir}/letsencrypt
%dir %{_sharedstatedir}/letsencrypt
%dir %{_localstatedir}/log/letsencrypt
%config(noreplace) %{_sysconfdir}/letsencrypt/cli.ini
%config(noreplace) %{_sysconfdir}/sysconfig/certbot
%config(noreplace) %{_sysconfdir}/logrotate.d/certbot
%{_unitdir}/certbot-renew.service
%{_unitdir}/certbot-renew.timer
%files -n python3-certbot
%license certbot/LICENSE.txt
%doc certbot/README.rst
%{python3_sitelib}/certbot
%{python3_sitelib}/certbot-%{version}-py%{python3_version}.egg-info
%{_bindir}/certbot-3
%files help
%{_docdir}/*
%files -n python3-acme
%license acme/LICENSE.txt
%doc acme/README.rst
%{python3_sitelib}/acme
%{python3_sitelib}/acme-%{version}-py%{python3_version}.egg-info
%files -n python3-certbot-apache
%license certbot-apache/LICENSE.txt
%doc certbot-apache/README.rst
%{python3_sitelib}/certbot_apache/
%{python3_sitelib}/certbot_apache-%{version}-py%{python3_version}.egg-info
%files -n python3-certbot-nginx
%license certbot-nginx/LICENSE.txt
%doc certbot-nginx/README.rst
%{python3_sitelib}/certbot_nginx/
%{python3_sitelib}/certbot_nginx-%{version}-py%{python3_version}.egg-info
%changelog
* Tue Nov 18 2025 lichenguang <lichenguang@kylinos.cn> 5.1.0-1
* Update to 5.1.0
* certbot-nginx no longer creates and uses self-signed certificates as an
intermediate step when installing certificates. The certificates the user
requested Certbot install are now always used instead.
(#10465)
* The function acme.crypto_util.make_self_signed_cert was deprecated and will
be removed in a future release.
(#10466)
* Fixed a bug in certbot-nginx that'd leave nginx configured with self-signed
certificates if a user ran certbot enhance and they didn't have matching
SSL server blocks. certbot enhance now requires the user to have a matching
SSL server block to enable HSTS or OCSP stapling enhancements.
(#10455)
* Wed Aug 20 2025 yaoxin <1024769339@qq.com> - 4.2.0-1
- Update to 4.2.0:
* Added --eab-hmac-alg parameter to support custom HMAC algorithm for
External Account Binding.
* Catches and ignores errors during the directory fetch for ARI checking
so that these errors do not hinder the actual certificate issuance.
* Removed the dependency on pytz
* Support for Python 3.9 was deprecated and will be removed in our next
planned release.
* The Certbot snap no longer sets the environment variable PYTHONPATH
stopping it from picking up Python files in the current directory
and polluting the environment for Certbot hooks written in Python.
* Previously, we claimed to set FAILED_DOMAINS and RENEWED_DOMAINS env
variables for use by post-hooks when certificate renewals fail, but
we were not actually setting them. Now, we are.
* Certbot now always uses the server value from the renewal configuration
file for ARI checks instead of the server value from the current
invocation of Certbot. This helps prevent ARI requests from going to the
wrong server if the user changes CAs.
* Thu Mar 27 2025 openeuler_bot <infra@openeuler.sh> - 3.3.0-1
- Private keys are now saved in PKCS#8 format instead of PKCS#1 (version: 3.2.0).
- The --register-unsafely-without-email flag is no longer needed in non-interactive mode (version: 3.3.0).
- In interactive mode, pressing Enter at the email prompt will register without an email (version: 3.3.0).
* Wed Jan 22 2025 Funda Wang <fundawang@yeah.net> - 3.1.0-1
- update to 3.1.0
* Python 3.8 support was removed.
* Runtime dependency on setuptools has been dropped from all Certbot components.
* Sat Jan 04 2025 Funda Wang <fundawang@yeah.net> - 3.0.1-1
- update to 3.0.1
* The update_symlinks command was removed.
* The `csr_dir` and `key_dir` attributes on
`certbot.configuration.NamespaceConfig` were removed.
* The `--manual-public-ip-logging-ok` command line flag was removed.
* The `--dns-route53-propagation-seconds` command line flag was removed.
* The `certbot_dns_route53.authenticator` module has been removed.
* Support for Python 3.8 was deprecated
* Tue Oct 01 2024 Funda Wang <fundawang@yeah.net> - 2.11.0-1
- Update package to version 2.11.0
- add apache and nginx module
- add systemd timer and logrotate conf
* Fri Feb 23 2024 chendexi <chendexi@kylinos.cn> - 2.9.0-1
- Update package to version 2.9.0
* Tue Nov 21 2023 jiangxinyu <jiangxinyu@kylinos.cn> - 2.7.4-1
- Update package to version 2.7.4
* Wed Jul 05 2023 jiangxinyu <jiangxinyu@kylinos.cn> - 2.6.0-1
- Update package to version 2.6.0
* Fri Apr 07 2023 wangkai <13474090681@163.com> - 2.5.0-1
- Update to 2.5.0
* Fri May 20 2022 liukuo <liukuo@kylinos.cn> - 1.16.0-4
- License compliance rectification
* Fri May 06 2022 yangping <yangping69@h-partners.com> - 1.16.0-3
- Fix build error caused by py3.10+ wildcard
* Thu Aug 05 2021 xu_ping <xuping33@huawei.com> - 1.16.0-2
- fix sync code to openEuler-20.03-LTS-SP1 %file error.
* Mon Jun 28 2021 Python_Bot <Python_Bot@openeuler.org> - 1.16.0-1
- Package Spec generated
Loading...
举报
举报成功
我们将于2个工作日内通过站内信反馈结果给你!
请认真填写举报原因,尽可能描述详细。
请选择举报类型
取消
发送
误判申诉

此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。

如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。

取消
提交

发行版

暂无发行版

贡献者

全部

近期动态

不能加载更多了
编辑仓库简介
简介内容
主页
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/kr-space/python-certbot.git
git@gitee.com:kr-space/python-certbot.git
kr-space
python-certbot
python-certbot
master
点此查找更多帮助

搜索帮助

仓库举报
回到顶部
登录提示
该操作需登录 Gitee 帐号,请先登录后再操作。
立即登录
没有帐号,去注册

AltStyle によって変換されたページ (->オリジナル) /