Skip to content

Instantly share code, notes, and snippets.

@emtiu
emtiu / Vagrantfile-backintime-Debian12
Last active July 28, 2024 20:07
Vagrantfile for backintime-dev testing on Debian 12
# -*- mode: ruby -*-
# vi: set ft=ruby :
Vagrant.configure(2) do |config|
# For a complete reference, please see the online documentation at
# https://docs.vagrantup.com.
config.vm.box = "debian/bookworm64"
# Create a private network, which allows host-only access to the machine
# using a specific IP.
@emtiu
emtiu / brothercert.sh
Last active November 23, 2023 11:46
Importing an SSL certificate to an old Brother printer (DCP-9020CDW)
# I encountered two major difficulties when trying to import an SSL certificate into an old Brother DCP-9020CDW
# multifunction printer:
# First, I was unable to export the openssl `.pem` and `.key` files to pkcs in a way that allowed the printer to
# import the certificate. I kept getting the error message "The password is not correct.", even though the password
# was definitely correct.
# I was exporting the certificate using:
openssl pkcs12 -export -out brother.p12 -in brother.pem -inkey brother.key