ACME upload to FRITZ!Powerline

Started by 9axqe, August 22, 2023, 05:03:26 PM

Previous topic - Next topic
Hello,

did someone try to upload a cert to an AVM fritz!powerline device?

It works with a fritz!box for me, but it does not to a powerline device, upload fails according to logs.

According to this page, it should work:

https://github.com/GermanCoding/FritzCerts
"Only Fritz!Box products have [the certificate] menu. Repeaters, powerline, etc products from AVM do not have this menu. However, the functionality is just hidden, it is indeed present in almost all devices running Fritz!OS with a web gui."

Has anyone tested this with an AVM powerline device?

I set logs to debug 3 (and sanitised a bit), but there's not much details:


2023-08-22T17:23:11 acme.sh [Tue Aug 22 17:23:11 CEST 2023] Deploy error.
2023-08-22T17:23:11 acme.sh [Tue Aug 22 17:23:11 CEST 2023] Error deploy for domain:powerline.domain.com
2023-08-22T17:23:11 acme.sh [Tue Aug 22 17:23:11 CEST 2023] Upload failed
2023-08-22T17:23:11 acme.sh [Tue Aug 22 17:23:11 CEST 2023] _ret='0'
2023-08-22T17:23:11 acme.sh [Tue Aug 22 17:23:11 CEST 2023] _CURL='curl --silent --dump-header /var/etc/acme-client/home/http.header -L --trace-ascii /tmp/tmp.4ehUG9tx -g --insecure '
2023-08-22T17:23:10 acme.sh [Tue Aug 22 17:23:10 CEST 2023] _post_url='powerline.domain.com/cgi-bin/firmwarecfg'
2023-08-22T17:23:10 acme.sh [Tue Aug 22 17:23:10 CEST 2023] POST
2023-08-22T17:23:10 acme.sh [Tue Aug 22 17:23:10 CEST 2023] Upload certificate to the FRITZ!Box
2023-08-22T17:23:10 acme.sh [Tue Aug 22 17:23:10 CEST 2023] Generate form POST request
2023-08-22T17:23:10 acme.sh [Tue Aug 22 17:23:10 CEST 2023] ret='0'
2023-08-22T17:23:10 acme.sh [Tue Aug 22 17:23:10 CEST 2023] _CURL='curl --silent --dump-header /var/etc/acme-client/home/http.header -L --trace-ascii /tmp/tmp.iml5VxCT -g --insecure '
2023-08-22T17:23:10 acme.sh [Tue Aug 22 17:23:10 CEST 2023] timeout=
2023-08-22T17:23:10 acme.sh [Tue Aug 22 17:23:10 CEST 2023] url='powerline.domain.com/login_sid.lua?sid=0000000000000000&username=admin&response=894ae361-5d2d673c143162f3a63255561f2a8072'
2023-08-22T17:23:10 acme.sh [Tue Aug 22 17:23:10 CEST 2023] GET
2023-08-22T17:23:10 acme.sh [Tue Aug 22 17:23:10 CEST 2023] ret='0'
2023-08-22T17:23:09 acme.sh [Tue Aug 22 17:23:09 CEST 2023] _CURL='curl --silent --dump-header /var/etc/acme-client/home/http.header -L --trace-ascii /tmp/tmp.olzleKeM -g --insecure '
2023-08-22T17:23:09 acme.sh [Tue Aug 22 17:23:09 CEST 2023] timeout=
2023-08-22T17:23:09 acme.sh [Tue Aug 22 17:23:09 CEST 2023] url='powerline.domain.com/login_sid.lua'
2023-08-22T17:23:09 acme.sh [Tue Aug 22 17:23:09 CEST 2023] GET
2023-08-22T17:23:09 acme.sh [Tue Aug 22 17:23:09 CEST 2023] Log in to the FRITZ!Box

Seems it's expected it does not work anymore since 7.50:

"AVM has removed the certificate upload support entirely from non-router models"


https://github.com/GermanCoding/FritzCerts/discussions/1#discussioncomment-6794098