Files
acme.sh/deploy
a57c8a45fa Add hp_ews deploy hook for HP printers (#7198)
* Add hp_ews deploy hook for HP printers

Deploys the certificate to an HP printer's Embedded Web Server by building
a PKCS#12 bundle from the key, certificate and CA chain and POSTing it to
/Security/DeviceCertificates/NewCertWithPassword/Upload.

Tested on an HP LaserJet Pro MFP M479fdw.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>

* hp_ews: upload with _post_file and Basic auth

Replace the hand-rolled curl/wget helper with _post_file, as requested
in review. Authenticate with a Basic Authorization header like the other
deploy hooks, and map HP_EWS_INSECURE onto HTTPS_INSECURE, which stays
inside the hook's subshell. Printers that only offer Digest auth are no
longer supported.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* hp_ews: declare and export _H1 separately (SC2155)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

---------

Co-authored-by: Sean Graham <sean.graham@vizit.com>
Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-10-19 15:23:35 +08:00
..
2026-07-17 12:38:14 +08:00
2024-04-07 12:36:19 +00:00
2021-03-30 09:18:33 +02:00
2021-05-07 12:12:30 +02:00
2017-02-19 20:40:53 +08:00
2024-04-07 12:36:19 +00:00
2024-10-13 17:41:22 +02:00
2022-11-23 21:33:29 +08:00
2026-09-04 15:27:35 +08:00
2026-09-19 15:43:23 +02:00
2018-03-22 13:45:43 -04:00
2025-10-21 11:34:46 +02:00
2021-09-04 16:59:50 +08:00
2026-09-04 15:27:35 +08:00
exe
2017-02-05 23:14:25 +08:00
2017-02-19 20:40:53 +08:00
2024-04-07 12:36:19 +00:00
2017-02-19 20:40:53 +08:00
2017-02-19 20:40:53 +08:00
2021-01-13 20:37:05 +00:00
2017-02-19 20:40:53 +08:00
2020-01-30 12:06:39 +08:00
2026-06-19 14:23:03 +02:00
2025-12-19 18:12:45 +03:00
2026-09-11 11:55:38 +08:00
2024-12-31 18:04:39 +01:00
2025-11-08 16:59:10 -05:00
2022-12-28 02:47:49 +08:00
2025-04-18 00:25:10 +02:00
2024-10-13 17:41:22 +02:00