A PEM certificate block, from the BEGIN line to the END line. A certificate carries the subject's name, organisation and often an email address in clear text, so pasting one into a model hands over an identity as surely as a password does. The body is matched lazily so two blocks in one file stay separate.
Label: CERTIFICATE_BLOCK
-----BEGIN [A-Z ]*CERTIFICATE-----[\s\S]*?-----END [A-Z ]*CERTIFICATE-----
Here is the chain: -----BEGIN CERTIFICATE-----
MIIBkTCB+wIJAKZ
-----END CERTIFICATE----- and the key follows. → -----BEGIN CERTIFICATE-----
MIIBkTCB+wIJAKZ
-----END CERTIFICATE-----Trusted root: -----BEGIN TRUSTED CERTIFICATE-----
QUJDRA==
-----END TRUSTED CERTIFICATE----- installed. → -----BEGIN TRUSTED CERTIFICATE-----
QUJDRA==
-----END TRUSTED CERTIFICATE----------BEGIN CERTIFICATE----- without an end markerThe word CERTIFICATE alone means nothingTags: international, secrets, network