Compare commits

3 Commits

Author SHA1 Message Date
206795e072 Rename variables in ovh.ini 2026-01-01 14:10:50 +01:00
2b9b190d9a Add ghost to certbot cli 2026-01-01 12:08:50 +01:00
558ef17e2a Rename ovh.ini to ovh.ini.tpl 2026-01-01 12:06:29 +01:00
3 changed files with 10 additions and 7 deletions

View File

@@ -1,6 +0,0 @@
# OVH API credentials used by Certbot
# Name referenced in OVH: rasp.netoik.io
dns_ovh_endpoint = $DNS_OVH_ENDPOINT
dns_ovh_application_key = $DNS_OVH_APPLICATION_KEY
dns_ovh_application_secret = $DNS_OVH_APPLICATION_SECRET
dns_ovh_consumer_key = $DNS_OVH_CONSUMER_KEY

9
conf/ovh.ini.tpl Normal file
View File

@@ -0,0 +1,9 @@
# OVH API credentials used by Certbot
# To generate a new token, go to: https://www.ovh.com/auth/api/createToken
dns_ovh_endpoint = "$OVH_ENDPOINT"
dns_ovh_application_name = "$OVH_APPLICATION_NAME"
dns_ovh_application_description = "$OVH_APPLICATION_DESCRIPTION"
dns_ovh_application_key = "$OVH_APPLICATION_KEY"
dns_ovh_application_secret = "$OVH_APPLICATION_SECRET"
dns_ovh_consumer_key = "$OVH_CONSUMER_KEY"

View File

@@ -54,7 +54,7 @@ fi
%attr(600, root, root) %config %ghost %{_sysconfdir}/certbot/ovh.ini %attr(600, root, root) %config %ghost %{_sysconfdir}/certbot/ovh.ini
%attr(644, root, root) %{_sysconfdir}/certbot/ovh.ini.tpl %attr(644, root, root) %{_sysconfdir}/certbot/ovh.ini.tpl
%attr(755, root, root) %dir %ghost /opt/certbot %attr(755, root, root) %dir %ghost /opt/certbot
%attr(755, root, root) %{_sbindir}/certbot %attr(755, root, root) %ghost %{_sbindir}/certbot
%changelog %changelog
%autochangelog %autochangelog