2
0
This commit is contained in:
2024-06-04 15:25:57 +02:00
parent b4d7dcc298
commit 866b6d1433

View File

@@ -0,0 +1,29 @@
<#
.SYNOPSIS
This script will use the free service Let's Encrypt in order to generate a certificate using a DNS challenge. Followed by activating it for the SoftEther VPN service.
.DESCRIPTION
For a client who needed a SoftEther VPN Service I created this script in order to automate the requesting of the certificate
and to autmatically configuring the SoftEther VPN Server with the new certificate.
The Script uses DNS challange so it won't be neccessary to enable port 80 on the VPN Server.
.OUTPUTS
Errorcodes:
n/a
.REMARKS
Author: D.de Kooker <info@dcomputers.nl>
Source: n/a
CHANGELOG:
28-05-2024 - Initial script.
#>
# Variables
$FileDate = Get-Date -Format "yyyyMMdd-HHmm"
$Tempfolder = $ENV:TEMP
$CertFolder = "C:\Program Files\SoftEther VPN Server\cert"
# Functions