文章
浏览全部文章。
kube-bench使用
kube-bench是一个go应用程序,它通过运行cis kubernetes benchmark中记录的规则来检查kubernetes是否安全部署。
在ingress中启用https
创建一个nginx deployment并修改了默认页面 /usr/share/nginx/html/index.html为hello nginx,这里先通过http方式创建ingress:
使用cfssl创建自签名证书
可以通过执行cfssl print-defaults config创建默认的配置文件,然后再修改。
go实现https认证
user1作为server端,user2作为client端,即client端需要验证server端证书。