serverco, I ran all the commands in your previous post up to “~/getssl -c domain.com” via the MacOS Terminal. I am now editing “getssl.cfg”. The following lines are the only lines not commented:
CA="https://acme-staging.api.letsencrypt.org"
ACCOUNT_EMAIL="<my-email-address>"
SANS="www.<my-domain>.com"
ACL=('/home/<my-username>/public_html/.well-known/acme-challenge')
USE_SINGLE_ACL="true"
RELOAD_CMD="${HOME}/cpanel_cert_upload <my-domain>.com"
ACCOUNT_KEY_LENGTH=4096
ACCOUNT_KEY="/home/<my-username>/.getssl/account.key"
PRIVATE_KEY_ALG="rsa"
RENEW_ALLOW="30"
SERVER_TYPE="https"
CHECK_REMOTE="true"
I have not run “~/getssl -a” yet because I have these 3 questions first…
(1) What is “.well-known/acme-challenge”? When I use my FTP client to access /public_html/ I do not see “well-known” there at all.
(2) Does everything else in my *.cfg file above look okay?
(3) I have a 2nd domain hosted on the same shared web server. It appears in cPanel’s “Addon Domains” ( /domains/<my-other-domain.jp>/public_html ) and “Subdomains” ( my-other-domain.my-domain.com ). How do I add a certificate for this? Does it entail merely changing the getssl.cfg content to the following?
CA="https://acme-staging.api.letsencrypt.org"
ACCOUNT_EMAIL="<my-email-address>"
SANS="www.<my-domain>.com,<my-other-domain.jp>"
ACL=('/home/<my-username>/public_html/.well-known/acme-challenge'
'/home/<my-username>/domains/<my-other-domain.jp>/public_html/.well-known/acme-challenge')
USE_SINGLE_ACL="true"
RELOAD_CMD="${HOME}/cpanel_cert_upload <my-domain>.com"
ACCOUNT_KEY_LENGTH=4096
ACCOUNT_KEY="/home/<my-username>/.getssl/account.key"
PRIVATE_KEY_ALG="rsa"
RENEW_ALLOW="30"
SERVER_TYPE="https"
CHECK_REMOTE="true"
Thanks,
James
