Login to the printer EWS (Embedded Web Server). Go to Network -> Security -> Certificates. Click Configure and select Create a Certificate Request. Fill out the details and create the CSR (Certificate Signing Request). Save the CSR. It will be called CertRequest.pem.
Using OpenSSL create a private key with no password:
openssl genrsa -out printer_private_key.pem 2048Using OpenSSL create a self-signed certificate valid for 10 years:
openssl req -x509 -sha256 -days 3650 -key printer_private_key.pem -in CertRequest.pem -out printer_10yr.pemIn the printer EWS click Configure and select Install a Certificate. Select the printer_10yr.pem and click Finish.