你好,
我的公司有一个内部的CA证书链,我需要在carbon上安装内部的CA .crt,可以吗?
用例,使用kubectl从内部注册表安装pod是不可能的,因为他们不知道在注册表服务器上安装的根CA权威机构。
Anibal
最佳答案Anibal Ulisses
\u00a0<\/p>
Problem solved\u2026<\/p>
On my notebook docker installation I already configured the certificate like you described:<\/p>
1)\u00a0On master and worker nodes create\u00a0$URL<\/strong>\u00a0directory at\u00a0\/etc\/docker\/certs.d\/<\/strong>\u00a0where\u00a0$URL<\/strong>is replaced with their registry hostname and port:
\u00a0<\/p>sudo mkdir \/etc\/docker\/certs.d\/example.com:5000<\/code><\/pre>
Copy (scp or download)\u00a0registry.crt<\/strong>\u00a0to\u00a0\/etc\/docker\/certs.d\/example.com:5000\/registry.crt<\/strong><\/p> <\/blockquote>\u00a0<\/p>
But I found two problem that after I understand I have success to configure the certificate chain:<\/p>
- Need to run this command to reload the new settings: \t
systemctl daemon-reload && systemctl restart docker<\/code><\/pre> \t<\/li> \t
- Need to install the certificate on all Master and Worker nodes, and run step 1 on each one.<\/li> <\/ol>
Another point that I faced, unfortunately I have a proxy between my server and internet. When the karbon are deployed they didn\u2019t get the \u201cwhitelist\u201d configure at Prism Element to include on the NO_PROXY variable, they only get the PROXY_HTTP(S) information. I need to adjust on all nodes.\u00a0<\/p>
\u00a0<\/p>
No my certificate chain are running fine :-)<\/p>
\u00a0<\/p>
Thank you.<\/p>
Anibal<\/p>
\u00a0<\/p>","className":"post__content__best_answer"}">