neuspesne pokusy o update nebo aktualizaci certbot:
Kód: Vybrat vše
root@NAS:~# apt-get install certbot
Reading package lists... Done
Building dependency tree
Reading state information... Done
certbot is already the newest version (0.10.2-1~bpo8+1).
0 upgraded, 0 newly installed, 0 to remove and 71 not upgraded.
Kód: Vybrat vše
root@NAS:~# apt-get certbot-apache install
E: Invalid operation certbot-apache
root@NAS:~# sudo apt install python3 python3-venv libaugeas-dev
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
libaugeas-dev : Depends: libxml2-dev but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
bohuzel stara verze, nepristupuje ke spravnemu serveru letsencrypt (https://acme-v01.api.letsencrypt.org/directory), takze nefunguje
updatovat se primo neda (ani vnutit spravny server), neexistuji distra pro jessie 8 debian. manualni instalace balicku nefunguje, proprietarni linux, ani se snahou vse doinstalovat, ani pomoci --force.
Kód: Vybrat vše
root@NAS:~# certbot certonly -d domena1.cz -d domena2.cz -d domena3.cz
Saving debug log to /var/log/letsencrypt/letsencrypt.log
How would you like to authenticate with the ACME CA?
-------------------------------------------------------------------------------
1: Place files in webroot directory (webroot)
2: Spin up a temporary webserver (standalone)
-------------------------------------------------------------------------------
Select the appropriate number [1-2] then [enter] (press 'c' to cancel): 2
Enter email address (used for urgent renewal and security notices) (Enter 'c' to
cancel):aaa@aaa.cz
Starting new HTTPS connection (1): acme-v01.api.letsencrypt.org
An unexpected error occurred:
ConnectionError: HTTPSConnectionPool(host='acme-v01.api.letsencrypt.org', port=443): Max retries exceeded with url: /directory (Caused by NewConnectionError('<requests.packages.urllib3.connection.VerifiedHTTPSConnection object at 0x7f6daac07390>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Please see the logfiles in /var/log/letsencrypt for more details.
root@NAS:~#
acme 3.10
zde je situace lepsi, funguje zcela urcite, generuje certifikaty (https://acme-v02.api.letsencrypt.org/directory), ale bohuzel jen pres cloudflare(?). cilem je 1 certifikat pro vice sub/domen. coz by slo. chystam se vyzkouset pristup na web s jejich certifikatem, ale jsem si temer jisty, ze tenhle certifikat je potreba pokazde odkliknout v prohlizeci. (nebo obdrzim letsencrypt???)
- jeste prudi, ze nema cloudflare credentials, vytvoril jsem si tam nejaky ucet, ale nevim jak a co vepsat na commandline nebo spousteci soubor.
Kód: Vybrat vše
root@NAS:~# acme.sh --issue -d domena1.cz -d domena2.cz -d domena3 --dns dns_cf --server letsencrypt -w /acme/
[Fri May 23 12:47:49 CEST 2025] Using CA: https://acme-v02.api.letsencrypt.org/directory
[Fri May 23 12:47:49 CEST 2025] Signing from existing CSR.
[Fri May 23 12:47:54 CEST 2025] Getting webroot for domain='domena1.cz'
[Fri May 23 12:47:54 CEST 2025] Getting webroot for domain='domena2.cz'
[Fri May 23 12:47:54 CEST 2025] Getting webroot for domain='domena3.cz'
[Fri May 23 12:47:54 CEST 2025] Adding TXT value: s-NDKKwn9p7Nrv5Pv2OsT6B0uXy18JILi9MdeGuqCsU for domain: _acme-challenge.domena1.cz
[Fri May 23 12:47:55 CEST 2025] You didn't specify a Cloudflare api key and email yet.
[Fri May 23 12:47:55 CEST 2025] You can get yours from here https://dash.cloudflare.com/profile.
[Fri May 23 12:47:55 CEST 2025] Error adding TXT record to domain: _acme-challenge.domena1.cz
[Fri May 23 12:47:55 CEST 2025] Please add '--debug' or '--log' to see more information.
[Fri May 23 12:47:55 CEST 2025] See: https://github.com/acmesh-official/acme.sh/wiki/How-to-debug-acme.sh
docker, docker-compose, tusim co to je (slo by tam zahrnout jen prostredi pro ten certbot??), ale neumim s tim.


