jawj / IKEv2-setup

Set up Ubuntu Server 20.04 (or 18.04) as an IKEv2 VPN server
1.35k stars 338 forks source link

How can I use my own certificate #101

Closed sayainchina closed 4 years ago

sayainchina commented 4 years ago

Because I have my own certificate , Can I use it?

jawj commented 4 years ago

Yes — you'll want to drop your certificate files in /etc/ipsec.d/certs/ and modify the section that starts with the line:

echo "--- Configuring RSA certificates ---"
sayainchina commented 4 years ago

Sorry,

Yes — you'll want to drop your certificate files in /etc/ipsec.d/certs/ and modify the section that starts with the line:

echo "--- Configuring RSA certificates ---"

Sorry,But I still did not understand,I try to "echo "--- Configuring RSA certificates ---""before bash the sh,but it didn't work,or you mean I need to modify the section manually?Thanks

jawj commented 4 years ago

Right. You probably want to cut most or all of that section, which gets a certificate from Let's Encrypt, because you've already obtained certificates and put them where they're expected.