I've recently started getting issues with my Let's Encrypt certificates.
On the web browser I don't get any issues for the certificate, but when I run an Java web app thru NGINX using the certificate and I try to connect using axios
npm package from a Node.js web app I keep getting certificate validation errors.
I've tried verifying using the following commands and I get the following outputs:
openssl verify -CAfile C:\Certbot\live\example.org\fullchain.pem C:\Certbot\live\example.org\cert.pem
C = US, O = Internet Security Research Group, CN = ISRG Root X1
error 2 at 2 depth lookup: unable to get issuer certificate
openssl verify -untrusted C:\Certbot\live\example.org\chain.pem C:\Certbot\live\example.org\cert.pem
C = US, O = Internet Security Research Group, CN = ISRG Root X1
error 20 at 2 depth lookup: unable to get local issuer certificate
I've even downloaded the ISRG Root X1 intermediate certificate and added it to the Certificate Store on my Windows Server 2016...