Giter VIP home page Giter VIP logo

Comments (9)

diafygi avatar diafygi commented on July 21, 2024

Your user.key and domain.key can't be the same private key. Unfortunately, this is a restriction by Let's Encrypt[1].

[1] - https://github.com/letsencrypt/boulder/blob/master/ra/registration-authority.go#L483

from acme-nosudo.

russellballestrini avatar russellballestrini commented on July 21, 2024

Thank you for the really quick reply!

Wow, ok thats a pain. I'm thinking about creating a PR that puts $USERKEY instead of user.key to stdout, so that the lines are documented but could also be copied and pasted without modification if the user has the environment var set.

Thoughts?

from acme-nosudo.

diafygi avatar diafygi commented on July 21, 2024

Interesting, the issue I see is that if users export USERKEY="/path/to/user.key" in their current terminal (seems likely), then when you paste the commands into a new terminal window, that environmental variable won't be available.

from acme-nosudo.

russellballestrini avatar russellballestrini commented on July 21, 2024

Yeah, it would need to be exported in the term that the pasting is occurring in, but still acts as a placeholder if they don't want to use ENV vars.

from acme-nosudo.

diafygi avatar diafygi commented on July 21, 2024

how about this?

STEP 2: You need to sign some files (replace './user.key' with the path to your user private key).

export USERKEY="./user.key"
openssl dgst -sha256 -sign $USERKEY -out register_KN2ihH.sig register_ABUO4T.json
openssl dgst -sha256 -sign $USERKEY -out domain_BbpWG4.sig domain_rSKa5G.json
openssl dgst -sha256 -sign $USERKEY -out challenge_fo6_ib.sig challenge_e3gHzd.json
openssl dgst -sha256 -sign $USERKEY -out cert_36OUdW.sig cert_3IZULZ.json

Press Enter when you've run the above commands in a new terminal window...

from acme-nosudo.

russellballestrini avatar russellballestrini commented on July 21, 2024

Looks good to me, STEP 3 output would need the same change.

Also now that I think about it, maybe $USER_PRIVATE_KEY is more descriptive / verbose.

I just successfully used this tool to create a cert, great work!

I'm going to be writing a blog post later tonight.

from acme-nosudo.

diafygi avatar diafygi commented on July 21, 2024

Cool, do you want the honors of doing a pull request, or should I do it?

from acme-nosudo.

russellballestrini avatar russellballestrini commented on July 21, 2024

I'll work on a PR after dinner. ; )

On Thu, Nov 5, 2015, 5:59 PM Daniel Roesler [email protected]
wrote:

Cool, do you want the honors of doing a pull request, or should I do it?


Reply to this email directly or view it on GitHub
#11 (comment)
.

from acme-nosudo.

russellballestrini avatar russellballestrini commented on July 21, 2024

This was user error, I misunderstood which keys were needed.

from acme-nosudo.

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.