I'm installing SSL certifcate (RapidSSL) on Amazon AWS (Load balancer).
Installation was already completed, but when I test it I get:
Wrong certificate installed. The domain name does not match the certificate common name or SAN. Certificate information Common name: ip-172-XX-XX-XXX SAN:
My SSL certificate is only for https://app.domain.com, so SSL certificate was made for app.domain.com
Edit: After some test I get:
The certificate is self-signed. Users will receive a warning when accessing this site unless the certificate is manually added as a trusted certificate to their web browser. You can fix this error by buying a trusted SSL certificate None of the common names in the certificate match the name that was entered (app.domain.com). You may receive an error when accessing this site in a web browser. Learn more about name mismatch errors. Common name: ip-172-XX-XX-XXX Organization: SomeOrganization Location: SomeCity, SomeState, -- Valid from July 23, 2014 to July 23, 2015 Serial Number: 218621 (0x5566) Signature Algorithm: sha256WithRSAEncrypt Issuer: ip-172-XX-XX-XXX
Edit2: Checking the server I found:
In folder /ssl/certs
localhost.crt //this is the one giving me trouble ca-bundle.crt ca-bundle.trust.crt
Should I delete localhost.crt?