Add functionality to add OCSP stapling info (.ocsp file), issuer (.issuer file) and multi-cert bundles (suffix on pem file based on key type).
This also corrects the order of key, certificate and intermediate in the PEM file, which although HAProxy does not seem to care, was incorrect in the prior version.
HAProxy requires the certificate chain and key to be concatenated and placed somewhere (can be anywhere). This script expects a single environment variable with the path where the concatenated PEM file should be written
The _get_records function currently returns the first 100 records. As our TXT is added most recently, if you have > 100 records it will not be returned.
I've changed the function to sort by ID DESC, so it will always return the latest 100 records.