Generation of CA Certificates #1

Merged
merged 1 commit into from Jul 27, 2016

Conversation

Projects
None yet
2 participants
Collaborator

chuckbutler commented Jul 27, 2016

This bit of logic implements the methods and logic required to 'bootstrap' the Certificate Authority by generating the CA keys.

Generation of CA Certificates
This bit of logic implements the methods and logic required to 'bootstrap' the Certificate Authority by generating the CA keys.
+ try:
+ log('Executing: {}'.format(cmd), 'debug')
+ out = check_output(split(cmd))
+ return out.decode('ascii')
@kwmonroe

kwmonroe Jul 27, 2016

Member

you sure you want ascii here? not 'utf-8'? remember, SaMnCo may use this, and his commands all return funny French letters.

@chuckbutler

chuckbutler Jul 27, 2016

Collaborator

The certificates and responses themselves conform to ASCII as best I can tell.

cloudflare/cfssl#632

It's trivial to change however, and I'm not opposed to changing it out of the gate.

@kwmonroe

kwmonroe Jul 27, 2016

Member

Ah, yes. I originally treated this like a generic runner, but this will only be called with cfssl bins. ascii as you wish.

Member

kwmonroe commented Jul 27, 2016

LGTM

@kwmonroe kwmonroe merged commit f35ee1b into juju-solutions:master Jul 27, 2016

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment