Closed cowwoc closed 8 months ago
Please see the answer I gave in issue 146: https://github.com/shred/acme4j/issues/146#issuecomment-1815934037
You need to store the certificate location somewhere.
Certificate cert = // the certificate that was freshly created
URL certLocation = cert.getLocation();
// store certLocation somewhere
To reconstruct the Certificate
instance from that location, bind it to a Login
:
Login login = // your login
URL certLocation = // certLocation that was stored
Certificate cert = login.bindCertificate(certLocation);
Works for me. Thank you.
Given that most (all?) ACME servers do not support listing existing certifications, please clarify how we are supposed to create a
Certificate
object without placing anOrder
with the ACME server.We need to know what information needs to be saved, and how to use this information to construct a
Certificate
at a later time.