Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

should add ca.pkcs1_generated: false to disable/enable the generation of PKCS#1 format #27

Closed
hoatle opened this issue Dec 10, 2018 · 0 comments
Assignees
Labels
affected:develop affected on the develop branch affected:v0.3.0 affected on the v0.3.0 version prio:major reso:fixed type:improvement

Comments

@hoatle
Copy link
Member

hoatle commented Dec 10, 2018

the CA key file is generated with PKCS#8 format, sometimes we need to generate and use PKCS#1 format instead (see teracyhq-incubator/teracy-dev-k8s#60)

default:

teracy-dev-certs:
  # ca_days: 2000 # deprecate this, use ca.days instead
  ca:
    days: 200
    pkcs1_generated: false # to generate the PKCS#1 *-ca.key from the *-ca-key.pem file

users can override:

teracy-dev-certs:
  ca:
    pkcs1_generated: true # or 1, yes

use https://github.com/teracyhq/dev/blob/develop/lib/teracy-dev/util.rb#L38 to check boolean value.

@hoatle hoatle added this to the v0.4.0-dev-certs milestone Dec 10, 2018
@hoatle hoatle added affected:v0.3.0 affected on the v0.3.0 version sprt:current and removed sprt:next labels Dec 10, 2018
datphan added a commit to datphan/teracy-dev-certs that referenced this issue Jan 22, 2019
@hoatle hoatle assigned hoatle and unassigned datphan Jan 22, 2019
hoatle added a commit that referenced this issue Jan 22, 2019
@ #27 | add pkcs1_generated option
@hoatle hoatle assigned datphan and unassigned hoatle Jan 22, 2019
@hoatle hoatle closed this as completed Jan 22, 2019
@ghost ghost removed the stag:under-verification label Jan 22, 2019
hoatle added a commit that referenced this issue Jan 22, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
affected:develop affected on the develop branch affected:v0.3.0 affected on the v0.3.0 version prio:major reso:fixed type:improvement
Projects
None yet
Development

No branches or pull requests

2 participants