I have a problem with importing a server ssl cert for
https web connection on myZyxel GS1920-8HPv2.
On the WebGui of the Switch, there is an information, that the cert and key
has to be in a pkcs12 container.
I did the following things to create the server crt:
generate a private key:
openssl genrsa \
-aes256 \
-out private/zyxel-server.key.pem 4096
generate a csr:
openssl req \
-config openssl.cnf \
-key private/zyxel-server.key.pem\
-new -sha512 \
-out csr/zyxel-server.csr.pem
create the signed cert from my ca:
openssl ca -config openssl.cnf \
-extensions server_cert_zyxel \
-days 1095 -notext -batch -md sha512 \
-passin file:mypass.enc \
-in csr/zyxel-server.csr.pem \
-out certs/zyxel-server.pem
Then i built the pcks12 container:
openssl pkcs12 \
-export \
-out cert.pfx \
-inkey private/zyxel-server.key.pem \
-in certs/zyxel-server.pem \
-certfile certs/ca.cert.pem \
i also tested "certfile" option with fullchain (ca + intermediate):
openssl pkcs12 \
-export \
-out cert.pfx \
-inkey private/zyxel-server.key.pem \
-in certs/zyxel-server.pem \
-certfile certs/ca-fullchain.cert.pem \
But when i try to import the pkcs12 container, the switch is running in a timeout without any log messages.
is the procedure correct that I did when creating the pkcs12 container and has someone an idea how to import the server cert on this zyxel switch?