cd /etc/ssl
openssl req -x509 -new -nodes -newkey rsa:2048 -keyout haproxy.key -out haproxy.crt
cat ./haproxy.crt ./haproxy.key > ./haproxy.pem
You can name the files whatever you want instead of using "haproxy", which I use since I like to have SSL termination in my haproxy server.
No comments:
Post a Comment