hwdsl2 / setup-ipsec-vpn

Scripts to build your own IPsec VPN server, with IPsec/L2TP, Cisco IPsec and IKEv2
Other
25.42k stars 6.34k forks source link

Cert Password #1192

Closed wekalati closed 2 years ago

wekalati commented 2 years ago

Checklist

Describe the issue A clear and concise description of what the bug is.

To Reproduce Steps to reproduce the behavior:

  1. ...
  2. ...

Expected behavior A clear and concise description of what you expected to happen.

Logs Check logs and VPN status, and add error logs to help explain the problem, if applicable.

Server (please complete the following information)

Client (please complete the following information)

Additional context Add any other context about the problem here.

Hello, hope you are doing well... I noticed that scripts leaves the cert password empty. No I use blackberry, on blackberry it will ask me for a password when I try to import the cert. and I can't leave the password field blank! otherwise the "OK" button will be greyed out and I won't be able to import the cert! How can I set a password for cert?

hwdsl2 commented 2 years ago

@wekalati Hello! BlackBerry is not a supported VPN client for this project. With that said, you can choose to protect client config files using a random password like this:

sudo VPN_PROTECT_CONFIG=yes ikev2.sh --addclient [client name]

Replace [client name] in the command above with the name of your new IKEv2 client. A random password will be generated to protect the config files of the new IKEv2 client, and will be displayed.