From 28842e0284ad4c085c203768bb9a739dace38861 Mon Sep 17 00:00:00 2001 From: Shon Thomas Date: Sat, 9 May 2026 12:04:18 -0800 Subject: [PATCH] fix(namecheap): extract leaf + chain by scanning PEM armor rota's `get_info` was looking for `` element text and `` element text. Neither matches Namecheap's actual `ssl.getInfo&Returncertificate=true` response, which carries `CertificateReturned` as an ATTRIBUTE on `` and packs PEMs in nested `` elements: ... Result: cert_pem and chain_pem both empty, `is_issued()` false, polling never terminates even when status==active. So PR #40's chain-follow lands on the right SSL ID but `await_issuance` still hangs at the extraction step. Found by extracting the cert manually out of band when `getInfo` returned status=active for oneiric.dev's in-flight order: rota's parser yielded empty strings even though the PEMs were sitting right there in the response. Fix: new `ApiResponse::pem_blocks(label)` method scans the raw response for `-----BEGIN