<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="fr">
	<id>https://wiki.garbal.org/index.php?action=history&amp;feed=atom&amp;title=Certificats%2Fen</id>
	<title>Certificats/en - Historique des versions</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.garbal.org/index.php?action=history&amp;feed=atom&amp;title=Certificats%2Fen"/>
	<link rel="alternate" type="text/html" href="https://wiki.garbal.org/index.php?title=Certificats/en&amp;action=history"/>
	<updated>2026-06-10T05:52:22Z</updated>
	<subtitle>Historique des révisions pour cette page sur le wiki</subtitle>
	<generator>MediaWiki 1.37.1</generator>
	<entry>
		<id>https://wiki.garbal.org/index.php?title=Certificats/en&amp;diff=94&amp;oldid=prev</id>
		<title>Frederik : Page créée avec « If the automatic renewal fails, check Windows' Event Viewer first for error messages. Look for Windows Logs / Application, messages of source &quot;win-acme&quot;. If you change settings in wacs, consider re-creating the &quot;renewal scheduled task&quot; from within wacs, because the task seems to be created with a copy of the settings. To test, simply run the task from Task Scheduler and check Windows' Event Viewer to see if there are any errors. »</title>
		<link rel="alternate" type="text/html" href="https://wiki.garbal.org/index.php?title=Certificats/en&amp;diff=94&amp;oldid=prev"/>
		<updated>2022-07-05T12:44:50Z</updated>

		<summary type="html">&lt;p&gt;Page créée avec « If the automatic renewal fails, check Windows&amp;#039; Event Viewer first for error messages. Look for Windows Logs / Application, messages of source &amp;quot;win-acme&amp;quot;. If you change settings in wacs, consider re-creating the &amp;quot;renewal scheduled task&amp;quot; from within wacs, because the task seems to be created with a copy of the settings. To test, simply run the task from Task Scheduler and check Windows&amp;#039; Event Viewer to see if there are any errors. »&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Nouvelle page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;== Introduction ==&lt;br /&gt;
Garbal uses Let's Encrypt certificates for all websites. This page describes the steps to set up a new certificate using the Win ACME utility (wacs.exe), how the software can be updated and how to troubleshoot the renewal process.&lt;br /&gt;
Note that the utility is frequently updated and its use may change over time. If the required steps have changed then please change this text accordingly.&lt;br /&gt;
External reference for [https://www.snel.com/support/install-lets-encrypt-with-apache-on-windows-server-2019/ Windows Server 2019 with Apache]&lt;br /&gt;
&lt;br /&gt;
== Installing a new certificate ==&lt;br /&gt;
&lt;br /&gt;
* Download the latest x64 pluggable zip from [https://github.com/win-acme/win-acme/releases Github] and archive the file in C:\Programs\Installers.&lt;br /&gt;
* Unzip the contents to C:\Programs\LetsEncrypt&lt;br /&gt;
* Create the file C:\Programs\LetsEncrypt\RestartApache.bat with the following content:&lt;br /&gt;
&amp;lt;pre&amp;gt;net stop &amp;quot;ApacheMS4WWebServer4&amp;quot; &amp;amp; sc start &amp;quot;ApacheMS4WWebServer4&amp;quot;&amp;lt;/pre&amp;gt;&lt;br /&gt;
* run wacs.exe from its installation folder as administrator&lt;br /&gt;
* New versions may use other shortcuts for the menu options, just follow their descriptions. We are installing to Apache, messages about IIS can be ignored&lt;br /&gt;
* M: Create certificate (full options)&lt;br /&gt;
* 2: Manual Input&lt;br /&gt;
* Host: ...the host name... &lt;br /&gt;
** You will want to use a subdomain, like www.stamp-map.org&lt;br /&gt;
** Make sure to use the actual full name/url of the site (with or without www, or the subdomain like stampdev.hoefsloot.com and wiki.garbal.org)&lt;br /&gt;
** If you want to use both stamp-map.org and www.stamp-map.org then create 2 certificates.&lt;br /&gt;
* Friendly name: &amp;lt;nowiki&amp;gt;&amp;lt;enter&amp;gt;&amp;lt;/nowiki&amp;gt; (leave it empty)&lt;br /&gt;
* How would you like to prove ownership:&lt;br /&gt;
* 1: [http-01] Save verification files on (network) path&lt;br /&gt;
* Path: C:\Websites\sites&amp;lt;nowiki&amp;gt;&amp;lt;enter&amp;gt;&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
** which is the documentroot from apache httpd.conf&lt;br /&gt;
* Copy default web.config: n&lt;br /&gt;
* CSR request key&lt;br /&gt;
* 2: RSA key&lt;br /&gt;
* 2: PEM encoded files (Apache)&lt;br /&gt;
* File Path: C:\ms4w\Apache\conf&lt;br /&gt;
* Password on the private key file&lt;br /&gt;
* 1: None&lt;br /&gt;
* 5: No (additional) store steps&lt;br /&gt;
* 2: Start external script or program&lt;br /&gt;
* File: C:\Programs\LetsEncrypt\RestartApache.bat&amp;lt;nowiki&amp;gt;&amp;lt;enter&amp;gt;&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;{StoreType} {StorePath} {RenewalId}&amp;lt;enter&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
* 3: No (additional) installation steps&lt;br /&gt;
* Setup for renewal scheduled task: The windows' Task Scheduler will be used. A new task will be installed.&lt;br /&gt;
* Do you want to specify the user the task will run as?: n&lt;br /&gt;
** The problem here is that signing in will probably require verification&lt;br /&gt;
* R: Run renewal&lt;br /&gt;
* Q: Quit&lt;br /&gt;
&lt;br /&gt;
Now change the Apache setup to use the certificate.&lt;br /&gt;
&lt;br /&gt;
== Maintenance of LetsEncrypt ==&lt;br /&gt;
If the automatic renewal fails, check Windows' Event Viewer first for error messages. Look for Windows Logs / Application, messages of source &amp;quot;win-acme&amp;quot;.&lt;br /&gt;
If you change settings in wacs, consider re-creating the &amp;quot;renewal scheduled task&amp;quot; from within wacs, because the task seems to be created with a copy of the settings.&lt;br /&gt;
To test, simply run the task from Task Scheduler and check Windows' Event Viewer to see if there are any errors.&lt;/div&gt;</summary>
		<author><name>Frederik</name></author>
	</entry>
</feed>