I am trying to get the Consul ui setup with https. I added the cert and key with "cert_file" and "key_file" then the cert chain with "ca_file". Then i restarted the consul server process. The HTTPS port is serving up the cert_file but no chain so the validation fails.
$ echo quit | openssl s_client -connect localhost:8501 | openssl x509 -text
depth=0 OU = Domain Control Validated, CN = *.
example.comverify error:num=20:unable to get local issuer certificate
verify return:1
depth=0 OU = Domain Control Validated, CN = *.
example.comverify error:num=27:certificate not trusted
verify return:1
depth=0 OU = Domain Control Validated, CN = *.
example.comverify error:num=21:unable to verify the first certificate
verify return:1
140612180817824:error:14094412:SSL routines:SSL3_READ_BYTES:sslv3 alert bad certificate:s3_pkt.c:1259:SSL alert number 42
140612180817824:error:140790E5:SSL routines:SSL23_WRITE:ssl handshake failure:s23_lib.c:184:
<snip>
$