Giter Club home page Giter Club logo

Comments (7)

shred avatar shred commented on July 18, 2024 2

I have just released acme4j v1.1, which contains the changes. Thank you for the hint!

from acme4j.

shred avatar shred commented on July 18, 2024

You are right... Downloading and writing the certificate and chain is overly complicated.

Like you suggested, I have added a new method Certificate.downloadFullChain() that returns an array of the certificate and the issuer chain. A new method CertificateUtils.writeX509Certificates() writes it to a combined pem file.

I have also enhanced the javadocs and the documentation, so it should be clearer now what is returned by the individual download methods.

See commits 69fbe81 and d6b4a43.

Is it what you needed?

from acme4j.

ovynogradov avatar ovynogradov commented on July 18, 2024

Thank you for the fast reply, that looks exactly how I expected. Special thanks for the enhancements in javadocs. πŸ‘

from acme4j.

peavers avatar peavers commented on July 18, 2024

Did this get dropped somewhere along the line? I'm using v2.7 but can't workout how to download the full chain. Looks like the CertificateUtils had all it's goodness stripped out?

from acme4j.

shred avatar shred commented on July 18, 2024

Everything you need should have been moved into the Certificate object. You can get the certificate chain from Certificate.getCertificateChain() now. Certificate.writeCertificate() writes the certificate chain as PEM file.

If something is still missing for you, just let me know. πŸ˜„

from acme4j.

peavers avatar peavers commented on July 18, 2024

Thanks for the response dude, I'm having a world of issues getting certs generated to work with Spring boot, rather than clutter up your issue tracker here I've opened a Stack overflow post - would you mind taking a quick glance to see if I've just made a mess of things? https://stackoverflow.com/questions/55959315/spring-boot-and-lets-encrypt-no-cipher-suites-in-common

Thanks for the awesome library by the way - works a treat to generate certs :) (If only I knew how to use them!)

from acme4j.

shred avatar shred commented on July 18, 2024

Your problem has been solved on Stack Overflow in the meantime?

Questions about using the certs with Tomcat (and now Spring Boot) are rather common. I should start to document them as well.

from acme4j.

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.