Giter Site home page Giter Site logo

Comments (7)

github-actions avatar github-actions commented on May 25, 2024

Please upgrade to the latest code and try again first. Maybe it's already fixed. acme.sh --upgrade If it's still not working, please provide the log with --debug 2, otherwise, nobody can help you.

from acme.sh.

avollmaier avatar avollmaier commented on May 25, 2024

feature request?

from acme.sh.

Neilpang avatar Neilpang commented on May 25, 2024

why not read the wiki page first:
https://github.com/acmesh-official/acme.sh/wiki/Issue-a-cert-from-existing-CSR

from acme.sh.

avollmaier avatar avollmaier commented on May 25, 2024

because after a signcsr i cant do a posthook and transfer it into a keystore with the to-pkcs function :(

  • missing domain key

from acme.sh.

Neilpang avatar Neilpang commented on May 25, 2024

https://github.com/acmesh-official/acme.sh/wiki/Using-pre-hook-post-hook-renew-hook-reloadcmd

https://github.com/acmesh-official/acme.sh/wiki/deployhooks

from acme.sh.

avollmaier avatar avollmaier commented on May 25, 2024

As i already said i got this key error when the posthook triggers... the signcsr doesnt generate a key so there is no key in the folder

/root/.acme.sh/acme.sh --signcsr --csr csr.pem --standalone --server xxxx --days 12 --post-hook "/root/.acme.sh/acme.sh --domain xxxx --to-pkcs12 --password changeit"

[Mo 22. Apr 08:37:49 CEST 2024] Run post hook:'/root/.acme.sh/acme.sh --domain xxxxx --to-pkcs12 --password changeit'
Error opening private key /root/.acme.sh/xxxxx/xxxxx.key
139733299238816:error:02001002:system library:fopen:No such file or directory:bss_file.c:402:fopen('/root/.acme.sh/xxxxx/xxxx.key','r')
139733299238816:error:20074002:BIO routines:FILE_CTRL:system lib:bss_file.c:404:
unable to load private key

from acme.sh.

avollmaier avatar avollmaier commented on May 25, 2024

This works for me:

_createcsr() {
....
if [ -f "$csrconf" ]; then
${ACME_OPENSSL_BIN:-openssl} req -new -sha256 -key "$csrkey" -config "$csrconf" -out "$csr"
return
fi
...

from acme.sh.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.