gateway: Unable to register or re-claim subdomains
STR:
- Try to register or re-claim a subdomain during first time setup
Expected:
- Registration successful
Actual:
- Error displayed: “Error issuing certificate. Please try again.”
Error log:
2022-09-20 12:50:18.354 INFO : Starting registration
2022-09-20 12:50:19.210 INFO : Sent subscription to registration server
2022-09-20 12:50:23.278 INFO : Set DNS token on registration server
2022-09-20 12:50:34.182 ERROR : Failed to generate certificate: Error: Error finalizing order :: signature algorithm not supported
at AcmeApi.apiRequest (/home/tola/Code/benfrancis/gateway/node_modules/acme-client/src/api.js:54:19)
at processTicksAndRejections (internal/process/task_queues.js:95:5)
at async AcmeClient.finalizeOrder (/home/tola/Code/benfrancis/gateway/node_modules/acme-client/src/client.js:349:22)
at async module.exports (/home/tola/Code/benfrancis/gateway/node_modules/acme-client/src/auto.js:149:5)
at async Object.register (/home/tola/Code/benfrancis/gateway/build/certificate-manager.js:171:22)
at async /home/tola/Code/benfrancis/gateway/build/controllers/settings_controller.js:139:9
First reported in https://discourse.mozilla.org/t/error-issuing-certificate/105596
From my investigation so far it appears that as of 15th September 2022, Let’s Encrypt stopped supporting certificate signing requests using the SHA-1 hash algorithm used by the version of the acme-client npm package used by WebThings Gateway (4.1.3).
Hopefully this can be solved by just upgrading the acme-client package to version 4.2.4 or above.
We’re probably going to want to put out a bugfix release to fix this as a matter of urgency, since it breaks all subdomain registrations and reclaims.
About this issue
- Original URL
- State: closed
- Created 4 years ago
- Comments: 17 (9 by maintainers)
Links to this issue
Commits related to this issue
- Upgrade acme-client - fixes #2948 — committed to benfrancis/gateway by benfrancis 4 years ago
- Upgrade acme-client - fixes #2948 — committed to benfrancis/gateway by benfrancis 4 years ago
- Upgrade acme-client - fixes #2948 — committed to benfrancis/gateway by benfrancis 4 years ago
- Upgrade acme-client - fixes #2948 — committed to benfrancis/gateway by benfrancis 4 years ago
- Upgrade acme-client - fixes #2948 — committed to WebThingsIO/gateway by benfrancis 4 years ago
- Upgrade acme-client - fixes #2948 — committed to benfrancis/gateway by benfrancis 4 years ago
- Upgrade acme-client - fixes #2948 — committed to WebThingsIO/gateway by benfrancis 4 years ago
Hi - I have registered about week ago on version 1.0. After update the certificate was still unissued for the new domain (created 30.12.2022)
I create new fresh instalation of gateway in version 1.1 and successfully reclaim my old domain created in the middle of 2022. Thanks for help 😃
@jekkel
Thanks, appreciate the offer of help.
There is, you can read about it here https://github.com/WebThingsIO/wiki/wiki/Testing-prerelease-OTA-updates
There isn’t a pre-release update ready to test yet, the issues blocking the release are tracked here.