Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Compatibility with buypass.no ACME server
At the time of this writing the buypass.no ACME server returns a valid account Location header but an empty body in response to a request per RFC8555 section 7.3.1 (Finding an Account URL Given a Key), even though the RFC clearly states "The body of this response represents the account object as it existed on the server before this request" Prior to this commit uacme followed the RFC to the letter and strictly checked the account status from the server response body, bailing out if not found or not valid. This made uacme incapable of requesting certificates from buypass.no. This commit relaxes the account status check, which is now only made if the status field is actually there; this makes uacme tolerant of buypass.no's RFC deviation.
- Loading branch information