We created a certificate on a linux box and exported it to an IIS 10 Webserver run on Win2k19.
Now I would like to renew that certificate by passing the CSR file created on IIS, but I get the laconic message “failed to parse the csr file”.
How can I find out more about the problem?
I ran this command: certbot -d mdrds.mandarinaduck.com --manual --preferred-challenges dns certonly --csr /mnt/certs/renewal.csr --dry-run
It produced this output:failed to parse CSR file
I can login to a root shell on my machine (yes or no, or I don’t know): yes
The version of my client is (e.g. output of certbot --version or certbot-auto --version if you’re using Certbot): 0.27
thanks for the answer. Actually, the first part is alreay done. The certificate has been exported to pfx and then imported in IIS10 as well. Now I needed to renew it, and that is why I created a CSR on IIS 10.
I ran your openssl command, and it blurted out this:
unable to load X509 request
140613883728320:error:0D0680A8:asn1 encoding routines:asn1_check_tlen:wrong tag:…/crypto/asn1/tasn_dec.c:1130:
140613883728320:error:0D07803A:asn1 encoding routines:asn1_item_embed_d2i:nested asn1 error:…/crypto/asn1/tasn_dec.c:290:Type=X509_REQ_INFO
140613883728320:error:0D08303A:asn1 encoding routines:asn1_template_noexp_d2i:nested asn1 error:…/crypto/asn1/tasn_dec.c:627:Field=req_info, Type=X509_REQ
140613883728320:error:0906700D:PEM routines:PEM_ASN1_read_bio:ASN1 lib:…/crypto/pem/pem_oth.c:33: