I am having with an App that is not serving the intermediate certificate to the clients.
As a workaround I wanted to add the intermediate certificate (Let's Encrypt X3) to the ca-certificates and followed the steps described over here: How do I install a root certificate?
Unfortunately, I am getting this error:
syntax error at /usr/local/bin/c_rehash line 15, near “= ;”
syntax error at /usr/local/bin/c_rehash line 16, near “= ;”
Execution of /usr/local/bin/c_rehash aborted due to compilation errors.
What am I doing wrong?
The problem I have is that when I do curl https://domain:port -v I get this output: https://paste.ubuntu.com/p/sRKzpFP4yn/
I can solve this issue by pointing to the lets-encrypt-x3-cross-signed.pem that is provided by Let’s Encrypt over here: https://letsencrypt.org/certificates/
The output of curl https://domain:8920/ --cacert /tmp/lets-encrypt-x3-cross-signed.pem -v looks like this: https://paste.ubuntu.com/p/rCDSm5vbvJ/
What I want to do know is to add the cross signed cert to the root ones.
– neik May 13 '18 at 10:01sudo apt install python-certbot-apache
or it might give you acouldn't locate
error – Barney Chambers Feb 27 '19 at 07:06