haproxytech / vmware-haproxy

Apache License 2.0
52 stars 25 forks source link

don't add a newline in "BEGIN RSA PRIVATE KEY" #27

Closed monofuel closed 2 years ago

monofuel commented 2 years ago

I tried creating a VM with this OVA while specifying a ca.crt and ca.key during configuration, but discovered the key was getting mangled.

-----BEGIN RSA PRIVATE KEY-----

was getting replaced with

-----BEGIN RSA
PRIVATE KEY-----

which prevented openssl from properly using the user-supplied certificate & key.

made an edit to the setup script to avoid adding a newline after RSA