TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Self-Signed locally trusted certificates with cert-manager

21 pointsby skarlsoover 1 year ago

5 comments

8organicbitsover 1 year ago
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 未加载
ipsiover 1 year ago
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.
skarlsoover 1 year ago
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!
politelemonover 1 year ago
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 未加载
tomjen3over 1 year ago
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 未加载