ACME V2 (7.4.2. Downloading the Certificate)

I send a GET command to the proper url and i receive the certificate chain
-----BEGIN CERTIFICATE-----
[End-entity certificate contents]
-----END CERTIFICATE-----
-----BEGIN CERTIFICATE-----
[Issuer certificate contents]
-----END CERTIFICATE-----

How do i use this? Its much more different than V1.
Also there is not rel=“up” on header.
If someone can give me an example to use it with BouncyCastle on C#.
Thank you

Hi @fotis

split it in two files.

If sCertificateText.IndexOf("-----BEGIN CERTIFICATE-----", 20) > 0

save both parts in the Webhosting-Certificatestore.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.