Configuration steps for a lab CA, created using EJBCA CE and Nitrokey HSM.
Hardware: Raspberry Pi 4 Model B
Crypto token: Nitrokey HSM 2
### WARNING: READ CAREFULLY BEFORE ATTEMPTING ### | |
# | |
# Credit to anfractuosity and fgimenezm for figuring out additional details for kernels | |
# | |
# Make sure everything is up-to-date | |
sudo apt-get update && sudo apt-get dist-upgrade | |
# Point to bookworm repos instead | |
sudo sed -i -e 's/bullseye/bookworm/g' /etc/apt/sources.list |
I hereby claim:
To claim this, I am signing this object:
#!/bin/env python | |
from smtpd import SMTPChannel, SMTPServer | |
import asyncore | |
class LMTPChannel(SMTPChannel): | |
# LMTP "LHLO" command is routed to the SMTP/ESMTP command | |
def smtp_LHLO(self, arg): | |
self.smtp_HELO(arg) |