Hello,

I'm working on a feature to add or delete SSL certificates without
reloading HAProxy and I'm facing a problem regarding the way to feed
the new certificates to the admin socket.

The certificates contain \n so the parser will trip on them and
incorrectly process the command.

Those are my ideas so far:

    - base64 the certificate content,
    - add a binary protocol to the socket to handle this special case
(intrusive, not the best idea),
    - add support for quotes.

(some months ago there was also an idea in
https://www.mail-archive.com/[email protected]/msg23857.html)

What would be the best/upstreamable way to do ?

Thanks !

-- 
Aurélien Nephtali

Reply via email to