你好,
我公司有一个内部CA证书链,我需要在Karbon上安装内部CA.CRT,这是可能的吗?
用例,由于不知道注册服务器上安装的根CA权限,因此无法使用内部注册表中的Kubectl安装POD。
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"}">