[GH-ISSUE #354] When I import the user certificate in the .sswan configuration on Android, I need to enter a password, but I don't know what it is #328

Closed
opened 2026-03-02 08:01:23 +03:00 by kerem · 2 comments
Owner

Originally created by @xiaobfeng on GitHub (Mar 8, 2023).
Original GitHub issue: https://github.com/hwdsl2/docker-ipsec-vpn-server/issues/354

I've tried the possible passwords in the system, but it still fails。

what is my password!!!

Originally created by @xiaobfeng on GitHub (Mar 8, 2023). Original GitHub issue: https://github.com/hwdsl2/docker-ipsec-vpn-server/issues/354 I've tried the possible passwords in the system, but it still fails。 what is my password!!!
kerem closed this issue 2026-03-02 08:01:24 +03:00
Author
Owner

@hwdsl2 commented on GitHub (Mar 9, 2023):

@xiaobfeng Hello! By default there is no password for client config files, unless you enabled the VPN_PROTECT_CONFIG=yes option when running the VPN setup script. In that case, the password should be in the output of the VPN script. Try adding a new IKEv2 client by running sudo ikev2.sh, then check the password in the output.

If using Docker, run docker exec -it ipsec-vpn-server ikev2.sh or docker logs ipsec-vpn-server. Otherwise, you can also uninstall the VPN and set it up again.

<!-- gh-comment-id:1461169031 --> @hwdsl2 commented on GitHub (Mar 9, 2023): @xiaobfeng Hello! By default there is no password for client config files, unless you enabled the `VPN_PROTECT_CONFIG=yes` option when running the VPN setup script. In that case, the password should be in the output of the VPN script. Try adding a new IKEv2 client by running `sudo ikev2.sh`, then check the password in the output. If using Docker, run `docker exec -it ipsec-vpn-server ikev2.sh` or `docker logs ipsec-vpn-server`. Otherwise, you can also [uninstall the VPN](https://github.com/hwdsl2/setup-ipsec-vpn/blob/master/docs/uninstall.md) and set it up again.
Author
Owner

@xiaobfeng commented on GitHub (Mar 9, 2023):

Thank you very much three times, the .sswan I generated again can be used directly, no password required

<!-- gh-comment-id:1461265254 --> @xiaobfeng commented on GitHub (Mar 9, 2023): Thank you very much three times, the .sswan I generated again can be used directly, no password required
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/docker-ipsec-vpn-server#328
No description provided.