LetsEncrypt-WebApplicationP.../README.md

36 lines
1.1 KiB
Markdown
Raw Permalink Normal View History

2022-08-01 13:18:09 +00:00
LetsEncrypt-WebApplicationProxy
2022-08-01 13:26:38 +00:00
A script to automatically update certificate for applications under Microsoft Web Application Proxy.
To use this script, download and install win-acme from https://github.com/win-acme/win-acme
Start win-acme using wacs.exe and follow these steps
M and enter (Create certificate (full options))
2022-08-01 13:27:17 +00:00
2022-08-01 13:26:38 +00:00
2 and enter (Manual input)
2022-08-01 13:27:17 +00:00
2022-08-01 13:26:38 +00:00
Type in FQDN for web application and press enter
2022-08-01 13:27:17 +00:00
2022-08-01 13:26:38 +00:00
Type in same FQDN as Friendly name and press enter
2022-08-01 13:27:17 +00:00
2022-08-01 13:26:38 +00:00
2 and enter ([http-01] Serve verification files from memory)
2022-08-01 13:27:17 +00:00
2022-08-01 13:26:38 +00:00
2 and enter (RSA key)
2022-08-01 13:27:17 +00:00
2022-08-01 13:26:38 +00:00
4 and enter (Windows Certificate Store)
2022-08-01 13:27:17 +00:00
2022-08-01 13:26:38 +00:00
2 and enter ([My] - General computer store (for Exchange/RDS))
2022-08-01 13:27:17 +00:00
2022-08-01 13:26:38 +00:00
5 and enter (No (additional) store steps)
2022-08-01 13:27:17 +00:00
2022-08-01 13:26:38 +00:00
2 and enter (Start external script or program)
2022-08-01 13:27:17 +00:00
2022-08-01 13:26:38 +00:00
Type in path to Renew-WAPApplications.ps1 (example C:\Scripts\Renew-WAPApplications.ps1" and end with return
2022-08-01 13:27:17 +00:00
2022-08-01 13:26:38 +00:00
Type in {CertCommonName} as parameter and end with return
2022-08-01 13:27:17 +00:00
2022-08-01 13:26:38 +00:00
Finnish of by typing 3 and enter (No (additional) installation steps)
Each time your certificates are renewed this script will then update certificate in Microsoft Web Application Proxy to the latest