TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Self-Signed locally trusted certificates with cert-manager

21 点作者 skarlso超过 1 年前

5 条评论

8organicbits超过 1 年前
I&#x27;ve been using a slightly different approach which skips the mkcert step. I really need to write a blog post, but roughly:<p>- register a subdomain on getlocalcert.net<p>- save credentials<p>- create LetsEncrypt certificate with cert-manager<p>Since LetsEncrypt is a trusted CA, there is no need for mkcert.<p><a href="https:&#x2F;&#x2F;github.com&#x2F;robalexdev&#x2F;getlocalcert-client-tests&#x2F;tree&#x2F;main&#x2F;examples%2Fcert-manager">https:&#x2F;&#x2F;github.com&#x2F;robalexdev&#x2F;getlocalcert-client-tests&#x2F;tree...</a>
评论 #38036950 未加载
评论 #38037810 未加载
ipsi超过 1 年前
Related, I also saw this project a little while ago: <a href="https:&#x2F;&#x2F;smallstep.com&#x2F;blog&#x2F;build-a-tiny-ca-with-raspberry-pi-yubikey&#x2F;" rel="nofollow noreferrer">https:&#x2F;&#x2F;smallstep.com&#x2F;blog&#x2F;build-a-tiny-ca-with-raspberry-pi...</a><p>Which looks quite interesting to have HTTPS for my internal-only pages without need to deal with an external service, although you have to be very careful to setup your certs correctly with &quot;Name Constraints&quot; (<a href="https:&#x2F;&#x2F;www.rfc-editor.org&#x2F;rfc&#x2F;rfc5280#section-4.2.1.10" rel="nofollow noreferrer">https:&#x2F;&#x2F;www.rfc-editor.org&#x2F;rfc&#x2F;rfc5280#section-4.2.1.10</a>) to avoid the risk of someone being able to MitM <i>everything</i> if they&#x27;re able to get in and start issuing themselves certificates.
skarlso超过 1 年前
Hello folks!<p>Thought I&#x27;d share some insights in how I set up test frameworks using cert-manager for generating self-signed certificates. And then making them locally trusted using mkcert for easy install.<p>I think it&#x27;s neat, but it does have its caveats as everything I suppose. :)<p>Thanks!
politelemon超过 1 年前
It&#x27;s worrying that this is considered minimal pain in the k8s world. It&#x27;s not a ding, it&#x27;s a sign that it&#x27;s not a platform to be taken or used on a whim but with serious considerations about time involved.
评论 #38037780 未加载
tomjen3超过 1 年前
I had to generate bunch of these at work, because reasons, and I found out that you can use Caddy to do this by including `tls internal` in your Caddyfile.<p>The first time you install it, it will prompt you to install the root cert.
评论 #38047593 未加载