Brother Printer Automatic Certificate Renewal
This script will automate the certificate renewal of Brother printers.
Last updated
Was this helpful?
This script will automate the certificate renewal of Brother printers.
Last updated
Was this helpful?
I recently decided to build a home lab and started to put SSL Certificate on web application hosted internally. My certificate is generated using ACME.SH by automatically generate a new valid certificate on *.mydomain.com. This way, I can use the certificate on multiple web application.
I was trying to find a way to automate the certificate renewal of my printer Brother MFC-L3750CDW and I didn't find any way to do it. Even online, there was no existing script from my research.
So, I created this python script that will automatically renew the certificate by doing request on the web administrative portal.
The only prerequisites is to pass the following arguments:
Protocol
Hostname or ip of your printer
Filepath of the certificate
Authenticate on the web portal
Delete any existing certificate
Upload the new certificate
Select the new uploaded certificate in the dropdown menu
My certificate was generated this way by:
I'm using Cloudflare for my domain management.
Then, once the certificate is generated, I export it in the PKCS12 format because this is the only format accepted on the Brother portal.
brother.pfx is the file used to pass in the python script
Here is a preview of the execution of the script.
The script can be accessed on the following Github repository.