Caddy - 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 Caddy webserver 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 Caddy webserver configuration, together with the private key. The following OpenSSL commands can be used to create the private key and CSR for your Caddy webserver;
To order a certificate, copy the entire contents of the generated CSR, including the first and last line and all dashes.