Hey guys,
I try to implement a LetsEncrypt V2 client using C#.
I follow all the steps and stages and i get an SSL certificate for 1 (one) domain, eg. test.ddns.net. The validation completes successfully using http-01 type.
I install this certificate on IIS (pfx file), using the C# BouncyCastle library.
When i try to load the website on chrome i get the error message: ERR_SSL_PROTOCOL_ERROR
When using Firefox i get: SEC_ERROR_BAD_SIGNATURE
The V2 certificates are not working?
If i use my client on V1 protocol everything works and the certificate created is valid.
What do i miss?
Seconding @stevenzhu's request for the actual domain name(s) involved. There's no difference between end entity certificates issued by the ACME v1 protocol or the ACME v2 protocol. Are you sure that you are handling the intermediate certificate chain correctly? In ACME v2 this is delivered along with the end entity certificate in the GET to an order's certificate URL.
i installed V1 certificate works ok.
i remove V1 and install V2, i see the dates of the V1 certificate. and the above error message ERR_SSL_PROTOCOL_ERROR
why?
its store is “webhosting” indeed.
when i receive the certificate chain from the protocol, i break them on -----END CERTIFICATE-----, so i have 2 certs.
the Entity and the issuer certicate in PEM format.
so, i am doing something wrong here. thats why it has 2 certificates?
i put again the V1 certificate for let the website working,
i will do test and with DDNS on my pc.
My problem is that i dont know how to use the chain that i receive from the protocol V2.
It is little bit confusing.
so, unfortunately still i have problem on creating the SSL Certificate, bug on the way that i create the certificate on last step from the chain that i get.