2021-07-29

Auto Renew Let's Encrypt Certificate for SoftEther

After build up the SoftEther VPN https://youtu.be/Y1F4PJOsWF8


You can manually Import the Certificate


Or try to make it automatically.

Place Cert in C:\Cert\ and write a TXT file (C:\Cert\SoftEtherVPNCertBatch.txt) with the following command:

ServerCertSet /LOADCERT:C:\Cert\softether.contoso.com-crt.pem /LOADKEY:C:\Cert\softether.contoso.com-key.pem

After getting the Cert from Let's Encrypt,  the following command

"C:\Program Files\SoftEther VPN Server\vpncmd_x64.exe" /server localhost /adminhub:SoftEtherVPNHub /PASSWORD:SoftEtherVPNHubManagementPassword /IN:C:\Cert\SoftEtherVPNCertBatch.txt

Done

*. Remember to change the text in blue and red for your environment.

沒有留言:

張貼留言