hunk.code_window:     try:
           # installers are used in auth mode to determine domain names
           installer, authenticator = choose_configurator_plugins(args, config, plugins, "certonly")
       except errors.PluginSelectionError, e:
           return e.message
       # TODO: Handle errors from _init_le_client?
       le_client = _init_le_client(args, config, authenticator, installer)
  
hunk.labels: keep keep keep replace keep keep keep keep
hunk.after_edit:     except errors.PluginSelectionError as e:
  
hunk.file_path: letsencrypt/cli.py
hunk.type: replace
file: <IfModule mod_ssl.c>
  	<VirtualHost _default_:443>
  		ServerAdmin webmaster@localhost
  
  		DocumentRoot /var/www/html
  
  		ErrorLog ${APACHE_LOG_DIR}/error.log
  		CustomLog ${APACHE_LOG_DIR}/access.log combined
  
  		#   A self-signed (snakeoil) certificate can be created by installing
  		#   the ssl-cert package. See
  		#   /usr/share/doc/apache2/README.Debian.gz for more info.
  		#   If both key and certificate are stored in the same file, only the
  		#   SSLCertificateFile directive is needed.
  		SSLCertificateFile	/etc/apache2/certs/letsencrypt-cert_5.pem
  		SSLCertificateKeyFile /etc/apache2/ssl/key-letsencrypt_15.pem
  
  
  		#SSLOptions +FakeBasicAuth +ExportCertData +StrictRequire
  		<FilesMatch "\.(cgi|shtml|phtml|php)$">
  				SSLOptions +StdEnvVars
  		</FilesMatch>
  		<Directory /usr/lib/cgi-bin>
  				SSLOptions +StdEnvVars
  		</Directory>
  
  		BrowserMatch "MSIE [2-6]" \
  				nokeepalive ssl-unclean-shutdown \
  				downgrade-1.0 force-response-1.0
  		# MSIE 7 and newer should be able to use keepalive
  		BrowserMatch "MSIE [17-9]" ssl-unclean-shutdown
  
  	</VirtualHost>
  </IfModule>
  
  # vim: syntax=apache ts=4 sw=4 sts=4 sr noet
  