摘要: https://blog.csdn.net/wuningw/article/details/119187267 logstash搭建 https://javamana.com/2022/169/202206182355052293.html elastic和kibana搭建 阅读全文
posted @ 2022-06-23 15:18 meadowhuhu 阅读(5) 评论(0) 推荐(0) 编辑
摘要: 重启wsl:修改网络配置后无法重启,通过管理员权限打开cmd控制台执行如下命令:net stop LxssManager net start LxssManagerwsl忘记密码:1 关闭unbuntu窗口2 打开cmd窗口,用root默认登录 wsl -u root3 输入wsl进入,passwd 阅读全文
posted @ 2022-05-26 17:21 meadowhuhu 阅读(227) 评论(0) 推荐(0) 编辑
摘要: 1 报错errors:permission denied 解决方式:参考https://www.vaultproject.io/docs/auth/kubernetes#how-to-work-with-short-lived-kubernetes-tokens 采用Use client JWT a 阅读全文
posted @ 2022-02-18 17:01 meadowhuhu 阅读(85) 评论(0) 推荐(0) 编辑
摘要: Operation cannot be fulfilled on clusterrolebindings.rbac.authorization.k8s.io "vault-server-binding": the object has been modified; please apply your 阅读全文
posted @ 2022-02-18 11:31 meadowhuhu 阅读(2178) 评论(0) 推荐(0) 编辑
摘要: 转自Yuren Ju Follow Apr 22, 2019 · 10 min read 在上一篇 Vault 相關的文章《透過 Vault 定期 rotate credentials》解釋了如何使用 vault 動態管理 credentials,透過每次都發出有時效性的帳號密碼來減低安全風險。 本 阅读全文
posted @ 2022-02-16 18:10 meadowhuhu 阅读(344) 评论(0) 推荐(0) 编辑
摘要: import org.springframework.util.StopWatch; StopWatch sw = new StopWatch();sw.start("init耗时");应用执行sw.stop(); System.out.println(sw.prettyPrint());Syste 阅读全文
posted @ 2021-12-15 11:29 meadowhuhu 阅读(40) 评论(0) 推荐(0) 编辑
摘要: 各类证书由于存储的内容不同(如是否包含公钥/私钥是否加密存储/单一证书或多证书等)、采用编 码不同(DER/BASE64)、标准不同(如PEM/PKCS),所以尽管X.509标准规定了证书内容规范,但证书文件还是五花八门。好在 openssl对这些不同的标准都有着不错的支持,可以用来进行不同格式证书 阅读全文
posted @ 2021-11-26 17:29 meadowhuhu 阅读(368) 评论(0) 推荐(0) 编辑
摘要: 1生成自签名私有证书 openssl req -new -x509 -newkey rsa:2048 -keyout /path/to/server.key -out /path/to/server.crt 2 生成自签名证书 https://www.jianshu.com/p/81dbcde4fd 阅读全文
posted @ 2021-08-06 14:26 meadowhuhu 阅读(85) 评论(0) 推荐(0) 编辑
摘要: 将apiVersion版本从extensions/v1beta1升级到apps/v1不成功,部署时一直自动设置为extensions/v1beta1 原因是kubectl get deployment时默认使用的extenions/v1beta1 如果想要使用apps/v1,可以通过kubectl 阅读全文
posted @ 2021-05-28 15:52 meadowhuhu 阅读(435) 评论(0) 推荐(0) 编辑
摘要: approle配置参考https://www.vaultproject.io/api/auth/approle approle auth参考https://www.vaultproject.io/docs/auth/approle 转载自https://www.bogotobogo.com/DevO 阅读全文
posted @ 2021-04-23 15:26 meadowhuhu 阅读(265) 评论(0) 推荐(0) 编辑