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

tls-cert-manage.sh seems to fail for "codesign" in hierarchical non-nested mode #6

Open
joaocc opened this issue Mar 7, 2022 · 1 comment
Assignees
Labels
help wanted Extra attention is needed

Comments

@joaocc
Copy link
Contributor

joaocc commented Mar 7, 2022

/work/bin/tls-ca-manage/tls-cert-manage.sh create -v -v --algorithm rsa --keysize 2048 --message-digest sha256 --cipher aes256 --base-dir=/work.ca-data/base22a appname-220307a codesign org22a.id.codesign
genpkey: Can't open "/work.ca-data/base22a/certs/appname-220307a.key" for writing, No such file or directory

CA in non-nested, non-traditional mode looks like this:

/
    etc/
        org22a.id.codesign-ca.cnf
        ...
        org22a.id.codesign-ca__codesign__appname-220307a__ext.cnf
        org22a.id.codesign-ca__codesign__appname-220307a__req.cnf
    crl/
    ca/
        org22a.id.codesign-ca/
            private/
            db/
            PARENT_CA
        org22a.id.codesign-ca-chain.pem
        org22a.id.codesign-ca.crt
        org22a.id.codesign-ca.csr

certs folder seems to be missing

@egberts egberts added the help wanted Extra attention is needed label Mar 10, 2022
@egberts egberts self-assigned this Mar 12, 2022
@egberts
Copy link
Owner

egberts commented Mar 12, 2022

just so you know, I use Bash Pro plugin with JetBrain PyCharm, community-edition to be able to view all that variables during debugging bash script. could not have done it without this IDE tool.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants