ZPanel - CSR Generation
A Certificate Signing Request (CSR) is required when applying for an SSL certificate. This CSR (and private key) can be generated on your webserver. To request a wildcard certificate, fill in an * (asterisk) for the subdomain, for example *.sslcertificaten.nl (instead of www.sslcertificates.nl).
Using your own certificates with the ZPanel web hosting control panel requires you to create the private key and certificate signing request with OpenSSL. After the certificate has been issued, you can add it to the ZPanel configuration, together with the private key. The following OpenSSL commands can be used to create the private key and CSR for your ZPanel web hosting control panel;
Connect to your server using SSH and log in as root. Beware not to overwrite an existing key that is still in use. The following commands can be used to generate both a private key and a CSR:
mkdir /var/zpanel/hostdata/zadmin/ssl cd /var/zpanel/hostdata/zadmin/ssl openssl req -nodes -newkey rsa:2048 -keyout server.key -out server.csr
Fill out the requested data for the CSR, and read the contents from the new CSR with the command cat server.csr
To order a certificate, copy the entire contents of the generated CSR, including the first and last line and all dashes.