diafygi / gethttpsforfree

Source code for https://gethttpsforfree.com/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Getting a urn:ietf:params:acme:error:malformed error even though pub-key was created from priv key

samarjoe opened this issue · comments

two things should be noted: I did generate my private key as so:
openssl genrsa 4096 > account.key

and obtained the pub key as so:
openssl rsa -in account.key -pubout

During Finalize step:

Error: Finalizing failed. Please start back at Step 1. { "type": "urn:ietf:params:acme:error:malformed", "detail": "Error finalizing order :: certificate public key must be different than account key", "status": 400 }

Any tips/pointers other than the keys might not match that can cause this error during this step?

Okay, found the issue. I was using the pub key side to my priv key used to generate my cert as the account pubkey. After reading more I realized that I needed a separate key just for the request. Once I used a brand new priv/pub key combo for the ACME request to letsencrypt, Everything worked as expected. Closing Issue.