All Projects â†’ gojek â†’ Kingsly

gojek / Kingsly

Licence: apache-2.0
Your own x.509 cert manager

Programming Languages

ruby
36898 projects - #4 most used programming language

Projects that are alternatives of or similar to Kingsly

Falko Api
📈 Falko API: Plataform for agile projects management 📊
Stars: ✭ 13 (-78.33%)
Mutual labels:  ruby-on-rails
Cuttlefish
Transactional email server with a lovely web interface
Stars: ✭ 985 (+1541.67%)
Mutual labels:  ruby-on-rails
Pig Ci Rails
Monitor your Ruby Applications metrics (Memory, SQL Requests & Request Time) as part of your test suite.
Stars: ✭ 53 (-11.67%)
Mutual labels:  ruby-on-rails
Workcation
How to use Inertia.js to build a Vue.js frontend within a Ruby on Rails application
Stars: ✭ 28 (-53.33%)
Mutual labels:  ruby-on-rails
Cl Tls
An implementation of TLS and related specifications in Common Lisp
Stars: ✭ 32 (-46.67%)
Mutual labels:  x509
My Configurations
Chris Hough's .dot files + workstation setup
Stars: ✭ 40 (-33.33%)
Mutual labels:  ruby-on-rails
Astuto
A free, open source, self-hosted customer feedback tool 🦊
Stars: ✭ 860 (+1333.33%)
Mutual labels:  ruby-on-rails
Happyfeed
HappyFeed - A Fever API compatible RSS Server built with Ruby on Rails
Stars: ✭ 58 (-3.33%)
Mutual labels:  ruby-on-rails
Real World Rails
Real World Rails applications and their open source codebases for developers to learn from
Stars: ✭ 982 (+1536.67%)
Mutual labels:  ruby-on-rails
Jsonapi parameters
Rails-way to consume JSON:API input
Stars: ✭ 50 (-16.67%)
Mutual labels:  ruby-on-rails
Prettier Plugin Erb
Prettier ERB plugin
Stars: ✭ 28 (-53.33%)
Mutual labels:  ruby-on-rails
Dashvis
An open-source Dashboard built for users, to organize their resources via Tables and Folders.
Stars: ✭ 31 (-48.33%)
Mutual labels:  ruby-on-rails
Drag and drop active storage
A demo drag and drop image upldate Ruby on Rails app using Stimulus.js, DropZone.js, and ActiveStorage
Stars: ✭ 46 (-23.33%)
Mutual labels:  ruby-on-rails
X509
A PHP library for X.509 public key certificates, attribute certificates, certification requests and certification path validation.
Stars: ✭ 27 (-55%)
Mutual labels:  x509
Goldiloader
Just the right amount of Rails eager loading
Stars: ✭ 1,074 (+1690%)
Mutual labels:  ruby-on-rails
Hack2save
Project Hack2Save
Stars: ✭ 12 (-80%)
Mutual labels:  ruby-on-rails
Niklick
Rails Versioned API solution template for hipsters! (Ruby, Ruby on Rails, REST API, GraphQL, Docker, RSpec, Devise, Postgress DB)
Stars: ✭ 39 (-35%)
Mutual labels:  ruby-on-rails
Health bit
Tiny health check of Rack apps like Rails, Sinatra for use with uptime checking systems like Kubernetes, Docker or Uptimerobot
Stars: ✭ 60 (+0%)
Mutual labels:  ruby-on-rails
Model probe
Schema introspection for ActiveModel
Stars: ✭ 58 (-3.33%)
Mutual labels:  ruby-on-rails
Graphql Rails Generators
Graphql Rails Scaffoldâ„¢. Automatically generate GraphQL types from your rails models.
Stars: ✭ 47 (-21.67%)
Mutual labels:  ruby-on-rails

Kingsly

Build Status

An attempt to automate SSL certs management. This Cert manager helps generate SSL certs, renews them automatically. Release blog post

Assumptions

  • The FQDN points to a public IP address
  • An FQDN points to only one IP address

Dev Setup

Install docker-compose

If you're on OS X, please follow the instructions to install docker. Or if you're on a Unix based distribution, you can follow the instructions here to install docker-compose.

# For Linux based machines
$ sudo curl -L "https://github.com/docker/compose/releases/download/1.24.0/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-
$ sudo chmod +x /usr/local/bin/docker-compose
  • Run $ make .env to create .env for the application from .env.sample

Opening the web interface on your dev machine

$ make docker.start

You can then open localhost:8080

To stop the docker containers

$ make docker.stop

Running the specs

$ make rspec

Example APIs

  • Creating SSL certs for a domain:
    • Request:
curl -X POST http://kingsly.host/v1/cert_bundles \
  -u admin:password \
  -H 'Content-Type: application/json' \
  -d '{
        "top_level_domain":"your-domain.com",
        "sub_domain": "your-sub-domain"
    }'
  • Response:
'{
  "private_key":"-----BEGIN RSA PRIVATE KEY-----\nFOO...\n-----END RSA PRIVATE KEY-----\n",
  "full_chain":"-----BEGIN CERTIFICATE-----\nBAR...\n-----END CERTIFICATE-----\n"
}'

Deploying

Please refer to deployment docs here

TODO

  • check for ACME account creation without email id (maybe initialize account only once?)
  • tracks if the client has the updated cert (WIP: #5)

License

Copyright 2018, GO-JEK Tech <http://gojek.tech>

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

    http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].