Correct way to transfer a SSL certificate
by aboka from LinuxQuestions.org on (#54VB5)
hi, im thinking of migrating a vps server running Softether vpn to a new vps in future. I have tested on a dummy server and the vpn is working as usual after restoring all its files.
the issue is i cant restore the SSL certificate for MS-SSTP authentication as it will prompt saying the CN name is different. The CN name is set to the old vps public IP address. The cert is generated by Softether when it is installed, and I use Softether Software Manager to Import/Export the cert to the new vps
so im thinking is it possible to make a certificate(with OpenSSL?) that would allow *(all domain name). or is there a better way since i think using a '*' is not secure
The whole reason I need to do this is to avoid setup all the client again. The vps is running Ubuntu 20.04 LTS
Thank you,


the issue is i cant restore the SSL certificate for MS-SSTP authentication as it will prompt saying the CN name is different. The CN name is set to the old vps public IP address. The cert is generated by Softether when it is installed, and I use Softether Software Manager to Import/Export the cert to the new vps
so im thinking is it possible to make a certificate(with OpenSSL?) that would allow *(all domain name). or is there a better way since i think using a '*' is not secure
The whole reason I need to do this is to avoid setup all the client again. The vps is running Ubuntu 20.04 LTS
Thank you,