siomiz / SoftEtherVPN

A Docker Automated Build Repository for SoftEther VPN
https://hub.docker.com/r/siomiz/softethervpn/
MIT License
454 stars 174 forks source link

New certificate #86

Open nOrphf opened 4 years ago

nOrphf commented 4 years ago

Hi

I have to begin with just used the default certificate and installed it where needed to make a connection. I would like to change the certificate to match a real domain name. How do I change the certificate? - I have a Lets Encrypt certificate for a domain name, and I tried to change the "byte ServerCert" and "byte ServerKey" but then I received an error that the connection does not use the same algorithm.

Thanks Lars.

siomiz commented 4 years ago

There is CERT/KEY env you can set. If you have the server password there is ServerCertSet command (above env vars use this command).

You'll probably need LE's CA cert added to SoftEtherVPN (CertAdd command).

(Please note that I cannot provide support for the actual usage of SoftEtherVPN.)