To fix this issue Im having trouble with having OpenSSL connect to a server because of trust issues. I placed the CA certificate on /etc/ssl/certs/ and have run sudo c_rehash and can see that the correct file has been made. I can see that CA certificate is in the ca-certificates.crt. However if I run: , OpenSSL connect to a server because of trust issues.
How to specify CAFile path inline with the GIT command?
wish helps you c:/your/path/to/cacert-client.pem should work ,supposing that the '/../' in your question stands for your/path/to (otherwise c:/../xx points to a non-existent path). If it doesn't work, you can try the other syntax:
With these it helps The problem was within the certificate itself. It had an invalid CR. If I specified the certificate directly there is no issue with it, but if it is used as part of the certs folder I had to remove ^M
I wish this helpful for you It looks like chain1.pem file from Let's Encrypt is incomplete. In my case it contains only one certificate - the intermediate CA Let's Encrypt Authority X3 Check the contents of this file. In my case there was only one certificate.