odoo-hosting
odoo-hosting copied to clipboard
[ADD] clouder_certificate_authority: Implement CA using CFSSL
This is a WIP - I still need to implement an interface to the CLI. I'm having a real helluva a time getting this to work the way I want though, so maybe you can help.
CFSSL isn't a service like everything else is, it's a CLI app that is going to be hosted in its own container. See the following console:
$ docker run -i -t lasley/cfssl-exec
Usage:
Available commands:
serve
ocspsign
ocspserve
selfsign
bundle
genkey
gencert
certinfo
scan
info
print-defaults
revoke
version
gencrl
ocspdump
ocsprefresh
sign
Top-level flags:
-allow_verification_with_non_compliant_keys
Allow a SignatureVerifier to use keys which are technically non-compliant with RFC6962.
I tried setting clouder.application.link.service
to false, but that didn't seem to have any affect. Is what I'm looking to do supported? My stupid container just keeps restarting.
Every 2.0s: docker ps | grep cfssl Tue Dec 13 23:03:30 2016
28cac556cf41 dev-ssl-exec-20161214.070106 "cfssl --help" 2 minutes ago Restarting (2) 33 seconds ago 0.0.0.0:31003->8888/tcp
dev-ssl-exec
Current coverage is 31.08% (diff: 100%)
@@ master #180 diff @@
==========================================
Files 73 73
Lines 5666 5666
Methods 0 0
Messages 0 0
Branches 0 0
==========================================
Hits 1761 1761
Misses 3905 3905
Partials 0 0
Powered by Codecov. Last update e735b00...56974b3