问题
I setup AWS classic load balancer with HTTPS Listener using ACM certificate as described in http://docs.aws.amazon.com/elasticloadbalancing/latest/classic/elb-create-https-ssl-load-balancer.html but the browser rejects it.
Errors:
- This root certificate is not trusted (ssl_error_bad_cert_domain)
- The certificate is not trusted because it is self-signed.
- The certificate is only valid for the following names: localhost, localhost.localdomain, ip-10-0-0-157, ip-10-0-0-157.us-west-2.compute.internal
- (Error code: sec_error_unknown_issuer)
The generated certificate seems pointed to localhost.
来源:https://stackoverflow.com/questions/40929255/aws-acm-certificate-not-valid