I have seen in the fabric-ca-server binary there are some options including and I am unsure why two certfiles are needed. Why can't we just use tls.certfile?
--ca.certfile string PEM-encoded CA certificate file (default "ca-cert.pem")
--tls.certfile string PEM-encoded TLS certificate file for server's listening port (default "tls-cert.pem")
Also, I saw in the following file list showing the two cert files.
-rw-r--r-- 1 root root 61440 Aug 7 05:43 fabric-ca-server.db
-rw-r--r-- 1 root root 932 Aug 7 05:43 tls-cert.pem
-rw-r--r-- 1 root root 215 Aug 7 05:43 IssuerRevocationPublicKey
-rw-r--r-- 1 root root 843 Aug 7 05:43 IssuerPublicKey
-rw-r--r-- 1 root root 806 Aug 7 05:43 ca-cert.pem
drwxr-xr-x 6 root root 4096 Jul 23 08:07 msp
-rwxrwxr-x 1 ubuntu ubuntu 16044 Jul 20 07:40 fabric-ca-server-config.yaml
Why are two cert files needed for CA functions, since this is basically a TLS functionality?