{"id":749,"date":"2020-08-29T10:05:49","date_gmt":"2020-08-29T02:05:49","guid":{"rendered":"https:\/\/www.linuxdevops.cn\/?p=749"},"modified":"2020-08-29T10:35:12","modified_gmt":"2020-08-29T02:35:12","slug":"configure-mutual-authentication-for-ingress-nginx-mtls","status":"publish","type":"post","link":"https:\/\/www.linuxdevops.cn\/2020\/08\/configure-mutual-authentication-for-ingress-nginx-mtls\/","title":{"rendered":"\u4e3a Ingress-nginx \u914d\u7f6e\u53cc\u5411\u8ba4\u8bc1**mtls**"},"content":{"rendered":"\n

\u9996\u5148\u4ec0\u4e48\u662f mtls \uff08\u53cc\u5411\u8ba4\u8bc1\uff09\uff1f\u5b83\u662f\u4e00\u4e2a\u8fc7\u7a0b\uff0c\u5728\u8fd9\u4e2a\u8fc7\u7a0b\u4e2d\uff0c\u5ba2\u6237\u673a\u548c\u670d\u52a1\u5668\u90fd\u901a\u8fc7\u8bc1\u4e66\u9881\u53d1\u673a\u6784\u5f7c\u6b64\u9a8c\u8bc1\u8eab\u4efd\u3002 \u76f8\u4fe1 tls \u5927\u5bb6\u90fd\u6bd4\u8f83\u719f\u6089\uff0c\u5c31\u662f server \u7aef\u63d0\u4f9b\u4e00\u4e2a\u6388\u4fe1\u8bc1\u4e66\uff0c\u5f53\u6211\u4eec\u4f7f\u7528 https \u534f\u8bae\u8bbf\u95eeserver\u7aef\u65f6\uff0cclient \u4f1a\u5411 server \u7aef\u7d22\u53d6\u8bc1\u4e66\u5e76\u8ba4\u8bc1\uff08\u6d4f\u89c8\u5668\u4f1a\u4e0e\u81ea\u5df1\u7684\u6388\u4fe1\u57df\u5339\u914d\u6216\u5f39\u51fa\u4e0d\u5b89\u5168\u7684\u9875\u9762\uff09\u3002 mtls \u5219\u662f\u7531\u540c\u4e00\u4e2a root ca \u751f\u6210\u4e24\u5957\u8bc1\u4e66\uff0c\u5373\u5ba2\u6237\u7aef\u8bc1\u4e66\u548c\u670d\u52a1\u7aef\u8bc1\u4e66\u3002\u5ba2\u6237\u7aef\u4f7f\u7528 https \u8bbf\u95ee\u670d\u52a1\u7aef\u65f6\uff0c\u53cc\u65b9\u4f1a\u4ea4\u6362\u8bc1\u4e66\uff0c\u5e76\u8fdb\u884c\u8ba4\u8bc1\uff0c\u8ba4\u8bc1\u901a\u8fc7\u65b9\u53ef\u901a\u4fe1\u3002<\/p>\n\n\n\n

\u8bc1\u4e66\u751f\u6210<\/strong><\/p>\n\n\n\n

\u8bc1\u4e66\u683c\u5f0f\u7c7b\u578b<\/strong><\/h3>\n\n\n\n

\u8bc1\u4e66\u4e3b\u8981\u7684\u683c\u5f0f\u6709\u4ee5\u4e0b\u51e0\u79cd<\/p>\n\n\n\n