Please add IPv6 support to the client


The client fails to restart Apache:

AH00526: Syntax error on line 30 of /etc/apache2/le_tls_sni_01_cert_challenge.conf:
The address or port is invalid

After doing some debugging, it turned out that the client is not supporting IPv6. It writes a file called /etc/apache2/le_tls_sni_01_cert_challenge.conf with contains the following lines:

<VirtualHost [2a01:443>
<VirtualHost [2a01:443>

It cuts off IPv6 addresses at the first :


Thanks! Filed an issue: