问题原文
原帖链接 · Chris Sun · CC BY-SA 4.0
I have a proxy server. Clients connect to it over HTTPS, so it needs a server certificate. The proxy server also makes outgoing requests to other backend servers. One of those backend servers requires mutual TLS, so I also need a "client" certificate.
It is ok to use one certificate for both cases? Is this a common practice or do most choose to use 2 separate certificates?
已采纳解答
原帖链接 · Michael Hampton · CC BY-SA 4.0
It could be done, but you probably don't want to.
It's technically possible for a TLS certificate to be used as both a server certificate and a client certificate. The TLS certificate for this very site has its key usage set that way, for instance.
But the server which requires a client certificate does so to authenticate the client. So it will want a specific certificate signed by a specific certificate authority. The TLS certificate you use for an Internet-facing server is probably not what you want in this case, as that server would find it much more difficult to limit which client certificates it accepted.
The server administrator of that backend server can issue the proper client certificate, or point you to the certificate authority who can.
摘自公开归档,保留原文语言,版式经整理,外部媒体与邮箱地址已移除。
