I am attempting to create a certificate using the certonly command. My web host has a control-panel SSL setup, for which they provide a CSR. I am attempting to generate the certificate using Ubuntu 18.04.2 LTS on Windows 10. I am able to log in to my server and have been able to test that it’s connecting using DNS TXT entries. Using the DNS TXT entries and Certbot in Ubuntu, I am able to successfully generate certificates, but my web host, again, requires that I use their CSR to generate the certificate. I am now attempting to do that using the command line given below. The errors I receive are detailed below the command. Please note that while I’m “comfortable” using command line, I don’t find the need to very often, and so I’m not as proficient as I’d like to be.
Please also note that my web host states the following in the control panel page that shows the text of the CSR: “…Ensure that when purchasing an SSL certificate “Apache mod_ssl” is selected…”
My domain is: www.wisconsinitguru.com
I ran this command, where the CSR was saved on my local computer in the directory that certbot generated the CSR files when I ran certbot with the DNS TXT verfication:
sudo certbot -d www.wisconsinitguru.com --manual --csr /etc/letsencrypt/csr/csr.pem certonly
It produced this output:
certbot [SUBCOMMAND] [options] [-d DOMAIN] [-d DOMAIN] …
Certbot can obtain and install HTTPS/TLS/SSL certificates. By default, it will attempt to use a webserver both for obtaining and installing the certificate. certbot: error: argument --csr: No such file or directory
I then copied the csr.pem file to my server in the /etc/letsencrypt/csr/ directory, wondering if that was where certbot was looking for the PEM file. That attempt produced the following result:
usage: certbot [SUBCOMMAND] [options] [-d DOMAIN] [-d DOMAIN] ... Certbot can obtain and install HTTPS/TLS/SSL certificates. By default, it will attempt to use a webserver both for obtaining and installing the certificate. certbot: error: File not found: sr
My web server is (include version): Apache, version unknown
The operating system my web server runs on is (include version): Linux 220.127.116.118-1
My hosting provider is: Aplus.Net / Deluxe
I can login to a root shell on my machine (yes or no, or I don’t know): Yes
I’m using a control panel to manage my site (no, or provide the name and version of the control panel): Yes, default control panel, version unknown.
The version of my client is (e.g. output of
certbot --version or
certbot-auto --version if you’re using Certbot): Certbot 0.31.0
Here’s the CSR file contents, also included in the directory listed above:
-----BEGIN CERTIFICATE REQUEST-----
-----END CERTIFICATE REQUEST-----
Any help you could provide would be greatly appreciated.