I am in a bad loop in trying to install a GoDaddy Cert in owncloud. Put my 3 certs in folder. Went to install and got.
error 20 at 0 depth lookup:unable to get local issuer certificate │
│ Issues found while verifying the certificate chain: │
│ /var/lib/owncloud/admin/files/SSLCerts/certificate.pem: OU = Domain
To resolve this I had to combine the cert with itermediates . Ran openssl verify now on new certificate.pem and got the ok.
So tried again . This time the private_key does not match. So after running
openssl rsa -noout -modulus -in private_key.pem | openssl md5
openssl rsa -noout -modulus -in certificate.pem| openssl md5
this is true. They don't match. But if I run it against the original certificate.pem(before combining) they do.
So how do I get by this. If fix one it breaks the other.