andreymal / certbot-dns-sweb Goto Github PK
View Code? Open in Web Editor NEWSpaceWeb DNS authenticator plugin for Certbot
License: MIT License
SpaceWeb DNS authenticator plugin for Certbot
License: MIT License
Собственно, subj. Я купил у sweb-а VPS и панель управления там находится по другому адресу (vps.sweb.ru). Поэтому плагин не проходит авторизацию:
2024-08-13 23:19:32,289:INFO:certbot_dns_sweb.dns_sweb:Authenticate on SpaceWeb...
2024-08-13 23:19:32,290:DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1): mcp.sweb.ru:443
2024-08-13 23:19:32,503:DEBUG:urllib3.connectionpool:https://mcp.sweb.ru:443 "GET /main/auth/ HTTP/11" 200 None
2024-08-13 23:19:32,779:DEBUG:urllib3.connectionpool:https://mcp.sweb.ru:443 "POST /main/auth_submit/ HTTP/11" 302 0
2024-08-13 23:19:32,781:DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1): vps.sweb.ru:443
2024-08-13 23:19:32,947:DEBUG:urllib3.connectionpool:https://vps.sweb.ru:443 "GET /main/ HTTP/11" 200 None
2024-08-13 23:19:32,949:DEBUG:certbot._internal.error_handler:Encountered exception:
Traceback (most recent call last):
File "/var/lib/certbot-env/venv/lib/python3.11/site-packages/certbot/_internal/auth_handler.py", line 88, in handle_authorizations
resps = self.auth.perform(achalls)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/var/lib/certbot-env/venv/lib/python3.11/site-packages/certbot/plugins/dns_common.py", line 76, in perform
self._perform(domain, validation_domain_name, validation)
File "/var/lib/certbot-env/venv/lib/python3.11/site-packages/certbot_dns_sweb/dns_sweb.py", line 105, in _perform
self._drop_old_txt(domain, validation_name)
File "/var/lib/certbot-env/venv/lib/python3.11/site-packages/certbot_dns_sweb/dns_sweb.py", line 72, in _drop_old_txt
old_txt = self._get_client().domains_dns_info_find(
^^^^^^^^^^^^^^^^^^
File "/var/lib/certbot-env/venv/lib/python3.11/site-packages/certbot_dns_sweb/dns_sweb.py", line 143, in _get_client
c = SWebClient(
^^^^^^^^^^^
File "/var/lib/certbot-env/venv/lib/python3.11/site-packages/certbot_dns_sweb/sweb_client.py", line 64, in init
self.login()
File "/var/lib/certbot-env/venv/lib/python3.11/site-packages/certbot_dns_sweb/sweb_client.py", line 92, in login
raise SWebError(f"Failed to log in (unexpected redirect {resp.url!r})")
certbot_dns_sweb.sweb_client.SWebError: Failed to log in (unexpected redirect 'https://vps.sweb.ru/main/')
Можно починить? Хотелось бы автоматически получать wildcard-certificate на домен для VPS. Плагин нужный
С уважением,
Дмитрий
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.