HAProxy Export certificates

Release date: August 3rd 2021

Welcome to my HAProxy Server series. In this sub-section I will show how I exported the certificates from my HAProxy server to be used with my VMware UAG’s. I will be exporting the certificates used on the HAProxy serving the desktop.frelab.net URL. My Letsencrypt certificate is as shown below:

To view the certificate details and path, I run the following command:

sudo certbot certificates -d desktop.frelab.net

Next, I create a tar-file containing the folder with the certificate

sudo tar -chvzf certs.tar.gz /etc/letsencrypt/live/desktop.frelab.net

I can now connect using winscp and transfer the tar-file as needed. Once done I extract the files

Finally, I upload private key and certificate chain to my VMware Unified Access Gateways

HAProxy Home Page

Disclaimer: Every tips/tricks/posting I have published here, is tried and tested in different it-solutions. It is not guaranteed to work everywhere, but is meant as a tip for other users out there. Remember, Google is your friend and don’t be afraid to steal with pride! Feel free to comment below as needed.

%d bloggers like this: