Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Kingsly - The Cert Manager

Kingsly - The Cert Manager

# Problem Statement

Manage SSL/TLS certificate lifecycle for various backends which would include but not limited to
- IPSec VPNs
- HAProxy/envoy proxy

# Existing Solutions

Generate certs using openssl(error prone) or use managed solution(expensive)

# Solution

- We built kingsly, which would act as broker between clients and letsencrypt, serving the clients with SSL certs.
- It takes care of renewal of certs before their expiry dates.
- extensible by writing custom clients to automate the whole manual process of updating certs with an example client.

# Links

https://github.com/gojekfarm/kingsly
https://github.com/gojekfarm/kingsly-certbot
https://github.com/gojekfarm/kingsly-certbot-cookbook
https://github.com/gojekfarm/iap_auth
https://github.com/gojekfarm/iap-auth-cookbook

Tasdik Rahman

August 03, 2019
Tweet

More Decks by Tasdik Rahman

Other Decks in Technology

Transcript

  1. Problems with our approach so far • No audit trail

    • Wildcard certificates • Sharing certs over email/slack • Reactionary approach of renewing certs • Certificate inventory • Manual effort to generate certs 7
  2. Features required • Certificates stored in a central manner •

    API to create/renew cert • Automatic renewal of cert • Centralised tracking 8
  3. 13

  4. 19

  5. Why IAP? • Central authorization layer • Application level access

    control • Allows individual and group based access policies. • Enforce HTTPs 20
  6. 22

  7. 24

  8. Future • Extend for client-bot for HAProxy, Envoy proxy •

    Extend it to developers to be able to request development certs • CRD to generate certs for applications inside k8s • Expand support for AuthZ and AuthN 25
  9. 26

  10. Links • Release blog post • github.com/gojekfarm/kingsly • github.com/gojekfarm/kingsly-certbot •

    github.com/gojekfarm/kingsly-certbot-cookbook • github.com/gojekfarm/iap_auth • github.com/gojekfarm/iap-auth-cookbook 27