janeczku / haproxy-acme-validation-plugin

:four_leaf_clover: Zero-downtime ACME / Let's Encrypt certificate issuing for HAProxy
MIT License
291 stars 49 forks source link

Cert subject parsing supporting Ubuntu 18.04 / OpenSSL 1.1.0g #21

Open bmiro opened 5 years ago

bmiro commented 5 years ago

Using this script on Ubuntu 18.04 with OpenSSL 1.1.0g the subject is not parsed correctly resulting in wrong certboot command with and -d with an empty argument and fails the execution.

This PR fixes this on Ubuntu 18.04 with OpenSSL 1.1.0g, hope it does not break other versions.