GithubHelp home page GithubHelp logo

ECC certificates? about uacme HOT 7 CLOSED

ndilieto avatar ndilieto commented on April 24, 2024
ECC certificates?

from uacme.

Comments (7)

ndilieto avatar ndilieto commented on April 24, 2024 3

Added support for ECC keys and certificates in the following commit:

795dfec

Please note, currently Let’s Encrypt only signs end-entity certificates with RSA intermediates. They are planning (ETA: Q3 2019) to generate an ECDSA root and intermediates:

https://letsencrypt.org/upcoming-features

from uacme.

ndilieto avatar ndilieto commented on April 24, 2024 1

A little question, why secp384r1 is not supported? Hard to implement?

It's not hard to add more curves but as per standard the only mandatory algorithm is ES256 which is based on NID_X9_62_prime256v1 and I'd rather not add features that might not be supported.

From https://tools.ietf.org/html/rfc8555#section-6.2

An ACME server MUST implement the "ES256" signature algorithm [RFC7518] and SHOULD implement the "EdDSA" signature algorithm using the "Ed25519" variant (indicated by "crv") [RFC8037]

from uacme.

MrSorcus avatar MrSorcus commented on April 24, 2024

Cool, works very good.
A little question, why secp384r1 is not supported? Hard to implement?
Anyway, thank you so much.

from uacme.

MrSorcus avatar MrSorcus commented on April 24, 2024

Hmm... I issued ECC certificate, but i can't issue second RSA certificate.
Logs

archlinux% uacme -s -t RSA -h ./main issue "example.com" "*.example.com" --verbose
uacme: version 1.0.8.2-795d-dirty starting on Thu, 09 May 2019 12:33:46 +0000
uacme: loading key from /etc/ssl/uacme/private/key.pem
uacme: loading key from /etc/ssl/uacme/private/example.com/key.pem
uacme: checking existence and expiration of /etc/ssl/uacme/example.com/cert.pem
uacme: /etc/ssl/uacme/example.com/cert.pem expires in 89 days
uacme: skipping /etc/ssl/uacme/example/cert.pem

from uacme.

ndilieto avatar ndilieto commented on April 24, 2024

Hmm... I issued ECC certificate, but i can't issue second RSA certificate.

Note that the -t flag only applies to newly generated keys. Once keys exist, the -t flag has no effect, as specified in the manual for version 1.0.9. If you want a new cert with RSA keys for the same domain you'll need to use a different configuration directory (use -c /etc/ssl/uacme-rsa for example). If you want to use the same account for the new cert, you can copy /etc/ssl/uacme/private/key.pem to /etc/ssl/uacme-rsa/private/key.pem before issuing. Otherwise you can generate a new account.

from uacme.

ndilieto avatar ndilieto commented on April 24, 2024

Cool, works very good.
A little question, why secp384r1 is not supported? Hard to implement?
Anyway, thank you so much.

I've asked Let's Encrypt and they currently support only prime256v1 and secp384r1. They have no plans to add any more for the foreseeable future. Therefore I've just added support for secp384r1 in commit dd87e89. You can select it by adding -t EC -b 384 to your command line. Let me know if it works for you...

from uacme.

MrSorcus avatar MrSorcus commented on April 24, 2024

Let me know if it works for you...

Works fine. Thanks a lot.

from uacme.

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.