My domain is:
mail.algasol.com
I ran this command:
From gmail attempting to connect with both port 995 and port 993 fails.
openssl s_client -showcerts -connect mail.algsol.com:993 -servername mail.algasol.com
It produced this output:
For gmail:Server returned error: "SSL error: No path found from the leaf certificate to any root. Maybe an intermediate certificate is missing?"
For openssl:
139939043341888:error:2008F002:BIO routines:BIO_lookup_ex:system lib:crypto/bio/b_addr.c:730:Name or service not known
My web server is (include version):
algasol.com
The operating system my web server runs on is (include version):
$ cat /etc/debian_version
bullseye/sid
My hosting provider, if applicable, is:
linode
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):
virtualmin
The version of my client is (e.g. output of certbot --version
or certbot-auto --version
if you're using Certbot):
2021-09-02 15:43:30,913:DEBUG:certbot._internal.main:certbot version: 1.13.0
cat certbot_command_docker.sh
#!/bin/sh -x
# Resorting to the docker image for certbot/dns-linode since version alignment between various packages is such a nightmare that things keep breaking.
docker run -it --rm --name certbot \
-v "/root/.linode_api:/root/.linode_api" \
-v "/etc/letsencrypt:/etc/letsencrypt" \
-v "/var/lib/letsencrypt:/var/lib/letsencrypt" \
-v "/var/log:/var/log" \
-v "/etc/letsencrypt/renewal-hooks/deploy" \
certbot/dns-linode renew
# Substitute the following line for the above to reinitialize the renewal variables
# certbot/dns-linode certonly -a dns-linode --dns-linode-credentials /root/.linode_api/certbot_token -d *.algasol.com -d albusaurum.com -d *.albusaurum.com -d *.aquatuta.com -d *.algasolrenewables.com -d algasol.com -d aquatuta.com -d algasolrenewables.com
# The following lines are necessary because the docker container doesn't
# know where all the directories are that must be accessed to run the
# deploy hooks. So the "copytodomains" script does this.
export RENEWED_LINEAGE=/etc/letsencrypt/live/algasol.com
/etc/letsencrypt/copytodomains algasol.com albusaurum.com algasolrenewables.com aquatuta.com